design: fix over padding on mobile
This commit is contained in:
11 files changed
+15
-15
No files matched your search
@@ -13,7 +13,7 @@
|
||||
{#each items as item, index}
|
||||
<li
|
||||
class={[
|
||||
'py-3 px-4',
|
||||
'py-2 px-3 sm:py-3 sm:px-4',
|
||||
'hover:bg-slate-100 dark:hover:bg-zinc-900/25 transition-colors @container',
|
||||
'bg-slate-50 dark:bg-zinc-950 first:rounded-t-2xl last:rounded-b-2xl',
|
||||
]}
|
||||
|
||||
@@ -28,8 +28,8 @@
|
||||
<div
|
||||
class={[
|
||||
pageHeader &&
|
||||
`w-[calc(100%+2rem)] sm:w-[calc(100%+3rem)]
|
||||
bg-slate-50 dark:bg-zinc-950 -m-4 sm:-m-6 mb-0 sm:mb-0 sm:p-6 p-4
|
||||
`w-[calc(100%+1.5rem)] sm:w-[calc(100%+3rem)]
|
||||
bg-slate-50 dark:bg-zinc-950 -m-4 sm:-m-6 mb-0 sm:mb-0 sm:p-6 p-3
|
||||
border-b border-slate-200 dark:border-zinc-800 margin`,
|
||||
]}
|
||||
{style}
|
||||
|
||||
Reference in new issue
Block a user