Skip to content

Commit

Permalink
Web: Files: added className for MainButton items
Browse files Browse the repository at this point in the history
  • Loading branch information
gopienkonikita committed Nov 12, 2021
1 parent ea1a64c commit 8910f44
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,42 +81,42 @@ class ArticleMainButtonContent extends React.Component {
text={t("Common:Actions")}
>
<DropDownItem
className="main-button_drop-down"
className="main-button_drop-down main-button_new-document"
icon="images/actions.documents.react.svg"
label={t("NewDocument")}
onClick={this.onCreate}
data-format="docx"
/>
<DropDownItem
className="main-button_drop-down"
className="main-button_drop-down main-button_new-spreadsheet"
icon="images/spreadsheet.react.svg"
label={t("NewSpreadsheet")}
onClick={this.onCreate}
data-format="xlsx"
/>
<DropDownItem
className="main-button_drop-down"
className="main-button_drop-down main-button_new-presentation"
icon="images/actions.presentation.react.svg"
label={t("NewPresentation")}
onClick={this.onCreate}
data-format="pptx"
/>
<DropDownItem
className="main-button_drop-down"
className="main-button_drop-down main-button_new-folder"
icon="images/catalog.folder.react.svg"
label={t("NewFolder")}
onClick={this.onCreate}
/>
<DropDownItem isSeparator />
<DropDownItem
className="main-button_drop-down"
className="main-button_drop-down main-button_upload-files"
icon="images/actions.upload.react.svg"
label={t("UploadFiles")}
onClick={this.onUploadFileClick}
/>
{!isMobile && (
<DropDownItem
className="main-button_drop-down"
className="main-button_drop-down main-button_upload-folders"
icon="images/actions.upload.react.svg"
label={t("UploadFolder")}
disabled={isPrivacy}
Expand Down

0 comments on commit 8910f44

Please sign in to comment.