1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Merge pull request #3513 from matrix-org/travis/mask-eye

Use a mask instead of an img for "Show image" eye
This commit is contained in:
Travis Ralston
2019-10-07 12:45:22 +01:00
committed by GitHub
2 changed files with 9 additions and 3 deletions

View File

@@ -496,7 +496,7 @@ export class HiddenImagePlaceholder extends React.PureComponent {
return (
<div className={className}>
<div className='mx_HiddenImagePlaceholder_button'>
<img src={require("../../../../res/img/feather-customised/eye.svg")} width={17} height={12} />
<span className='mx_HiddenImagePlaceholder_eye' />
<span>{_t("Show image")}</span>
</div>
</div>