We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f4ee24 commit fc69c11Copy full SHA for fc69c11
src/components/Container.vue
@@ -1,5 +1,9 @@
1
<script setup lang="ts">
2
defineProps({
3
+ paddingT: {
4
+ type: Number,
5
+ default: 46,
6
+ },
7
paddingX: {
8
type: Number,
9
default: 16,
@@ -9,8 +13,8 @@ defineProps({
13
10
14
<template>
11
15
<main
12
- class="absolute left-0 h-full w-full overflow-y-auto pt-46"
- :style="`padding-left: ${paddingX}px; padding-right: ${paddingX}px`"
16
+ class="absolute left-0 h-full w-full overflow-y-auto"
17
+ :style="`padding-top: ${paddingT}px; padding-left: ${paddingX}px; padding-right: ${paddingX}px`"
18
>
19
<slot />
20
</main>
0 commit comments