aboutsummaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorGrigorii K. Shartsev <me@shgk.me>2023-11-30 10:53:04 +0100
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2023-11-30 11:30:49 +0000
commit7c00a0853ba6ef2a949f95896ddff134ce3e26fe (patch)
tree46a51b02c32c4c6f9ba4fca01ee9d5431f56e8b8 /core/src
parent0561b11a4eaf3687956abd9cb73a305c198211ed (diff)
downloadnextcloud-server-7c00a0853ba6ef2a949f95896ddff134ce3e26fe.tar.gz
nextcloud-server-7c00a0853ba6ef2a949f95896ddff134ce3e26fe.zip
fix(core): app icon alignment in app menu
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Diffstat (limited to 'core/src')
-rw-r--r--core/src/components/AppMenu.vue5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/src/components/AppMenu.vue b/core/src/components/AppMenu.vue
index b9373c82ac6..debf682081b 100644
--- a/core/src/components/AppMenu.vue
+++ b/core/src/components/AppMenu.vue
@@ -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);
}
}
}