Full-bleed config layout on mobile
This commit is contained in:
parent
01223f6be0
commit
6d3fdfdcb5
@ -12,6 +12,7 @@ export default function ClearCacheButton() {
|
|||||||
<form action={clearCacheAction}>
|
<form action={clearCacheAction}>
|
||||||
<SubmitButtonWithStatus
|
<SubmitButtonWithStatus
|
||||||
icon={<BiTrash size={16} />}
|
icon={<BiTrash size={16} />}
|
||||||
|
hideTextOnMobile={false}
|
||||||
onFormSubmit={invalidateSwr}
|
onFormSubmit={invalidateSwr}
|
||||||
>
|
>
|
||||||
Clear Cache
|
Clear Cache
|
||||||
|
|||||||
@ -66,6 +66,9 @@ export default function Container({
|
|||||||
'flex flex-col items-center justify-center',
|
'flex flex-col items-center justify-center',
|
||||||
'rounded-lg',
|
'rounded-lg',
|
||||||
...getColorClasses(),
|
...getColorClasses(),
|
||||||
|
// Full-bleed on mobile
|
||||||
|
'max-sm:border-l-0 max-sm:border-r-0 max-sm:rounded-none',
|
||||||
|
'max-sm:-mx-3 max-sm:px-3.5',
|
||||||
getPaddingClasses(),
|
getPaddingClasses(),
|
||||||
className,
|
className,
|
||||||
)}
|
)}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user