move main content padding CSS variables to the app wrapper

This commit is contained in:
jakob.scheid authored and Gitea committed 2026-06-04 13:39:58 +02:00
1 parent 98579b726b
commit 592eb7222f
1 file changed
+5 -2
+5 -2
View File
@@ -42,15 +42,18 @@ watch(colorScheme, val => updateColorScheme(val))
</template>
<style scoped>
.main-content {
#app-wrapper {
--main-content-padding-x: 30px;
--main-content-padding-y: 40px;
--main-content-padding: var(--main-content-padding-y) var(--main-content-padding-x);
}
.main-content {
flex-grow: 1;
}
@media (max-width: 48rem) {
.main-content {
#app-wrapper {
--main-content-padding-x: 15px;
}
}