Skip to content

Commit

Permalink
Merge pull request 'hotfix: position of icons in new file menu' (#2) …
Browse files Browse the repository at this point in the history
…from hotfix/icons-position-newfile-menu into feature/nc-30

Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/onlyoffice-nextcloud/pulls/2
  • Loading branch information
LinneyS committed Sep 11, 2024
2 parents 1ef9b2b + f9ab3c4 commit 200f906
Showing 1 changed file with 20 additions and 12 deletions.
32 changes: 20 additions & 12 deletions css/format.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,30 @@
*
*/

.icon-onlyoffice-new-docx {
background-size: 20px !important;
background-position: 12px !important;
background-image: url("../img/new-docx.svg");
.icon-onlyoffice-new-docx:after,
.icon-onlyoffice-new-xlsx:after,
.icon-onlyoffice-new-pptx:after {
display: block;
margin-top: 5px;
}

.icon-onlyoffice-new-xlsx {
background-size: 20px !important;
background-position: 12px !important;
background-image: url("../img/new-xlsx.svg");
.icon-onlyoffice-new-docx,
.icon-onlyoffice-new-xlsx,
.icon-onlyoffice-new-pptx {
display: flex;
justify-content: center;
}

.icon-onlyoffice-new-pptx {
background-size: 20px !important;
background-position: 12px !important;
background-image: url("../img/new-pptx.svg");
.icon-onlyoffice-new-docx:after {
content: url("../img/new-docx.svg");
}

.icon-onlyoffice-new-xlsx:after {
content: url("../img/new-xlsx.svg");
}

.icon-onlyoffice-new-pptx:after {
content: url("../img/new-pptx.svg");
}

.icon-onlyoffice-new-pdf {
Expand Down

0 comments on commit 200f906

Please sign in to comment.