From b60a91abb75a68b344a2e9198b40844fdf53e856 Mon Sep 17 00:00:00 2001 From: Mickael Kerjean Date: Wed, 12 Jan 2022 00:07:47 +1100 Subject: [PATCH] feature (css): add classNames to buttons on filepage --- client/pages/filespage/submenu.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/pages/filespage/submenu.js b/client/pages/filespage/submenu.js index af08db71..ecef855e 100644 --- a/client/pages/filespage/submenu.js +++ b/client/pages/filespage/submenu.js @@ -119,18 +119,18 @@ export class Submenu extends React.Component {
- + { window.innerWidth < 410 && t("New File").length > 10 ? t("New File", null, "NEW_FILE::SHORT") : t("New File") } - + { window.innerWidth < 410 && t("New Directory").length > 10 ? t("New Directory", null, "NEW_DIRECTORY::SHORT") : t("New Directory") } - 0} type="inline" onMouseDown={this.onDownload.bind(this, this.props.selected)}> + 0} type="inline" onMouseDown={this.onDownload.bind(this, this.props.selected)}> { t("Download") } - 0 && this.props.accessRight.can_delete !== false} type="inline" onMouseDown={this.onDelete.bind(this, this.props.selected)}> + 0 && this.props.accessRight.can_delete !== false} type="inline" onMouseDown={this.onDelete.bind(this, this.props.selected)}> { t("Remove") }