Skip to content

Commit

Permalink
Merge pull request #41923 from nextcloud/fix/app-menu-icon-size
Browse files Browse the repository at this point in the history
fix(core): app icon alignment in app menu
  • Loading branch information
AndyScherzinger authored Nov 30, 2023
2 parents bcc1d57 + 9ee1a8f commit ef3b1a8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion core/src/components/AppMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,10 @@ $header-icon-size: 20px;
.app-icon {
position: relative;
height: 44px;
width: 48px;
display: flex;
align-items: center;
justify-content: center;
/* Icons are bright so invert them if bright color theme == bright background is used */
filter: var(--background-invert-if-bright);
Expand All @@ -280,7 +284,6 @@ $header-icon-size: 20px;
img {
width: $header-icon-size;
height: $header-icon-size;
padding: calc((50px - $header-icon-size) / 2);
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions dist/core-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-main.js.map

Large diffs are not rendered by default.

0 comments on commit ef3b1a8

Please sign in to comment.