Skip to content

Commit 80a4675

Browse files
committed
fix(files): Adjust NavigationQuota for Nextcloud 30 design
Signed-off-by: Ferdinand Thiessen <[email protected]>
1 parent 40fd76f commit 80a4675

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

apps/files/src/components/NavigationQuota.vue

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,15 +167,18 @@ export default {
167167
// User storage stats display
168168
.app-navigation-entry__settings-quota {
169169
// Align title with progress and icon
170-
&--not-unlimited::v-deep .app-navigation-entry__name {
171-
margin-top: -6px;
170+
--app-navigation-quota-margin: calc((var(--default-clickable-area) - 24px) / 2); // 20px icon size and 4px progress bar
171+
172+
&--not-unlimited :deep(.app-navigation-entry__name) {
173+
line-height: 1;
174+
margin-top: var(--app-navigation-quota-margin);
172175
}
173176
174177
progress {
175178
position: absolute;
176-
bottom: 12px;
177-
margin-inline-start: 44px;
178-
width: calc(100% - 44px - 22px);
179+
bottom: var(--app-navigation-quota-margin);
180+
margin-inline-start: var(--default-clickable-area);
181+
width: calc(100% - (1.5 * var(--default-clickable-area)));
179182
}
180183
}
181184
</style>

0 commit comments

Comments
 (0)