Add more button

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Š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'); 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 {

View file

@ -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")}