1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-11 20:22:36 +03:00

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