Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion apps/settings/src/views/SettingsContentWrapper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<template>
<NcAppContent>
<div ref="contentMain" />
<div ref="contentMain" class="settings-content" />
</NcAppContent>
</template>

Expand All @@ -20,3 +20,14 @@ onMounted(() => {
realElement.parentNode!.removeChild(realElement)
})
</script>

<style scoped>
/* The NcAppNavigationToggle is absolutely positioned in the top inline-start
corner of the content. Reserve the standard toggle clearance
(--app-navigation-padding above + --default-clickable-area + matching padding
below) so the first section's heading clears it. Sections already contribute
~7 grid units of leading space, so subtract that to avoid a large empty band. */
.settings-content {
padding-block-start: calc(2 * var(--app-navigation-padding) + var(--default-clickable-area) - var(--default-grid-baseline) * 7);
}
</style>
Loading
Loading