(fix) scroll padding

This commit is contained in:
kakkokari-gtyih 2023-07-15 19:11:23 +09:00
parent 8e1d23a877
commit 67d343cf9e
3 changed files with 4 additions and 3 deletions

View File

@ -3,7 +3,7 @@ const isNavOpen = ref<boolean>(false);
useHead({ useHead({
htmlAttrs: { htmlAttrs: {
class: 'scroll-pt-16', class: 'scroll-pt-32 lg:scroll-pt-20',
}, },
}); });
</script> </script>

View File

@ -3,7 +3,7 @@ const isNavOpen = ref<boolean>(false);
useHead({ useHead({
htmlAttrs: { htmlAttrs: {
class: 'scroll-pt-20 lg:scroll-pt-4', class: 'scroll-pt-20 lg:scroll-pt-24',
}, },
}); });
</script> </script>

View File

@ -13,9 +13,10 @@ export default <Config> {
"./error.vue", "./error.vue",
], ],
safelist: [ safelist: [
'scroll-pt-16',
'scroll-pt-20', 'scroll-pt-20',
'scroll-pt-32',
'lg:scroll-pt-4', 'lg:scroll-pt-4',
'lg:scroll-pt-20',
'lg:scroll-pt-24', 'lg:scroll-pt-24',
], ],
theme: { theme: {