forked from crowetic/commerce
Responsive Changes
This commit is contained in:
parent
78a9a9c451
commit
a1ee24e30e
@ -1,3 +1 @@
|
|||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
@tailwind utilities;
|
|
||||||
@tailwind screens;
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
@apply relative grid items-start gap-8 grid-cols-1;
|
@apply relative grid items-start gap-8 grid-cols-1;
|
||||||
|
|
||||||
@screen lg {
|
@screen lg {
|
||||||
@apply grid-cols-12;
|
@apply grid-cols-12 pt-10;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ const Sidebar: FC<Props> = ({ className, children, show = true, close }) => {
|
|||||||
leaveTo="opacity-0"
|
leaveTo="opacity-0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="absolute inset-0 bg-black bg-opacity-25 transition-opacity"
|
className="absolute inset-0 bg-black bg-opacity-50 transition-opacity"
|
||||||
// Close the sidebar when clicking on the backdrop
|
// Close the sidebar when clicking on the backdrop
|
||||||
onClick={close}
|
onClick={close}
|
||||||
/>
|
/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user