Use a mask instead of an img for "Show image" eye
See https://github.com/matrix-org/matrix-react-sdk/pull/3492#pullrequestreview-296223646
This commit is contained in:
parent
b94c94db04
commit
0491b742c2
2 changed files with 9 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue