mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
Add more button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
0a00ffa9d6
commit
83e1a7a707
2 changed files with 8 additions and 0 deletions
|
@ -129,6 +129,10 @@ limitations under the License.
|
||||||
mask-image: url('$(res)/img/image-view/download.svg');
|
mask-image: url('$(res)/img/image-view/download.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mx_ImageView_button_more::before {
|
||||||
|
mask-image: url('$(res)/img/image-view/more.svg');
|
||||||
|
}
|
||||||
|
|
||||||
.mx_ImageView_button_close {
|
.mx_ImageView_button_close {
|
||||||
padding-left: 32px;
|
padding-left: 32px;
|
||||||
&::before {
|
&::before {
|
||||||
|
|
|
@ -295,6 +295,10 @@ export default class ImageView extends React.Component {
|
||||||
title={_t("Download")}
|
title={_t("Download")}
|
||||||
onClick={ this.onDownloadClick }>
|
onClick={ this.onDownloadClick }>
|
||||||
</AccessibleTooltipButton>
|
</AccessibleTooltipButton>
|
||||||
|
<ContextMenuTooltipButton
|
||||||
|
className="mx_ImageView_button mx_ImageView_button_more"
|
||||||
|
title={_t("Options")}
|
||||||
|
/>
|
||||||
<AccessibleTooltipButton
|
<AccessibleTooltipButton
|
||||||
className="mx_ImageView_button mx_ImageView_button_close"
|
className="mx_ImageView_button mx_ImageView_button_close"
|
||||||
title={_t("Close")}
|
title={_t("Close")}
|
||||||
|
|
Loading…
Reference in a new issue