Fix broken 'Open File' icon color
## Issue
The removal of `svg` from `media__subtitle` in 09b689ba
made the icon black.
## Fix
Both 'Open File' and 'Download' should have the same css class.
This commit is contained in:
parent
bf5b2370e2
commit
217ae3ecf7
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,7 @@ type Props = {
|
|||
fileInfo: ?FileListItem,
|
||||
openModal: (id: string, { path: string }) => void,
|
||||
pause: () => void,
|
||||
download: string => void,
|
||||
download: (string) => void,
|
||||
costInfo: ?{ cost: string },
|
||||
buttonType: ?string,
|
||||
showLabel: ?boolean,
|
||||
|
@ -91,6 +91,7 @@ function FileDownloadLink(props: Props) {
|
|||
return hideOpenButton ? null : (
|
||||
<Button
|
||||
button={buttonType}
|
||||
className={buttonType ? undefined : 'button--file-action'}
|
||||
title={openLabel}
|
||||
label={showLabel ? openLabel : null}
|
||||
icon={ICONS.EXTERNAL}
|
||||
|
|
Loading…
Reference in a new issue