mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-10 08:38:17 -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:
@@ -22,7 +22,7 @@ const PlayButton: React.FC<PlayButtonProps> = ({ links }) => {
|
||||
text={
|
||||
<>
|
||||
{links[0].svg}
|
||||
{links[0].text}
|
||||
<span>{links[0].text}</span>
|
||||
</>
|
||||
}
|
||||
onClick={() => {
|
||||
@@ -40,7 +40,7 @@ const PlayButton: React.FC<PlayButtonProps> = ({ links }) => {
|
||||
buttonType="ghost"
|
||||
>
|
||||
{link.svg}
|
||||
{link.text}
|
||||
<span>{link.text}</span>
|
||||
</ButtonWithDropdown.Item>
|
||||
);
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user