mirror of
https://github.com/nextcloud/server.git
synced 2026-02-14 00:04:57 -05:00
fix(core): app icon alignment in app menu
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
This commit is contained in:
parent
0561b11a4e
commit
7c00a0853b
1 changed files with 4 additions and 1 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue