mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Merge pull request #41932 from nextcloud/backport/41923/stable28
[stable28] fix(core): app icon alignment in app menu
This commit is contained in:
commit
20de1ec38b
3 changed files with 7 additions and 4 deletions
|
|
@ -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);
|
||||
|
||||
|
|
@ -280,7 +284,6 @@ $header-icon-size: 20px;
|
|||
img {
|
||||
width: $header-icon-size;
|
||||
height: $header-icon-size;
|
||||
padding: calc((50px - $header-icon-size) / 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
4
dist/core-main.js
vendored
4
dist/core-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-main.js.map
vendored
2
dist/core-main.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue