Add more button

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-02-24 18:13:12 +01:00
parent 0a00ffa9d6
commit 83e1a7a707
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
2 changed files with 8 additions and 0 deletions

View File

@ -129,6 +129,10 @@ limitations under the License.
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 {
padding-left: 32px;
&::before {

View File

@ -295,6 +295,10 @@ export default class ImageView extends React.Component {
title={_t("Download")}
onClick={ this.onDownloadClick }>
</AccessibleTooltipButton>
<ContextMenuTooltipButton
className="mx_ImageView_button mx_ImageView_button_more"
title={_t("Options")}
/>
<AccessibleTooltipButton
className="mx_ImageView_button mx_ImageView_button_close"
title={_t("Close")}