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:
TheCatLady
2021-04-26 06:09:58 -04:00
committed by GitHub
parent 079645c2c7
commit 3e5e9c0ad1
43 changed files with 265 additions and 273 deletions

View File

@@ -236,7 +236,7 @@ const MovieRequestModal: React.FC<RequestModalProps> = ({
}
secondaryButtonType="danger"
cancelText={intl.formatMessage(globalMessages.close)}
iconSvg={<DownloadIcon className="w-6 h-6" />}
iconSvg={<DownloadIcon />}
>
{isOwner
? intl.formatMessage(messages.pendingapproval)
@@ -294,7 +294,7 @@ const MovieRequestModal: React.FC<RequestModalProps> = ({
)
}
okButtonType={'primary'}
iconSvg={<DownloadIcon className="w-6 h-6" />}
iconSvg={<DownloadIcon />}
>
{hasAutoApprove && !quota?.movie.restricted && (
<div className="mt-6">