mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-01 04:08:45 -05:00
refactor(css): add styles targeting SVG button/modal icons (#1464)
* refactor(css): add global classes for common icon types * refactor(css): target child SVGs instead of creating new icon classes * fix: fix ButtonWithDropdown style class spacing
This commit is contained in:
@@ -93,8 +93,8 @@ const ProfileHeader: React.FC<ProfileHeaderProps> = ({
|
||||
passHref
|
||||
>
|
||||
<Button as="a">
|
||||
<CogIcon className="w-5 h-5 mr-1" />
|
||||
{intl.formatMessage(messages.settings)}
|
||||
<CogIcon />
|
||||
<span>{intl.formatMessage(messages.settings)}</span>
|
||||
</Button>
|
||||
</Link>
|
||||
) : (
|
||||
@@ -106,8 +106,8 @@ const ProfileHeader: React.FC<ProfileHeaderProps> = ({
|
||||
passHref
|
||||
>
|
||||
<Button as="a">
|
||||
<UserIcon className="w-5 h-5 mr-1" />
|
||||
{intl.formatMessage(messages.profile)}
|
||||
<UserIcon />
|
||||
<span>{intl.formatMessage(messages.profile)}</span>
|
||||
</Button>
|
||||
</Link>
|
||||
)
|
||||
|
||||
@@ -237,7 +237,7 @@ const UserProfile: React.FC = () => {
|
||||
<Link href={`/users/${user?.id}/requests?filter=all`}>
|
||||
<a className="slider-title">
|
||||
<span>{intl.formatMessage(messages.recentrequests)}</span>
|
||||
<ArrowCircleRightIcon className="w-6 h-6 ml-2" />
|
||||
<ArrowCircleRightIcon />
|
||||
</a>
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user