fix:mobile ui
This commit is contained in:
parent
9f57441a3b
commit
496dffe7e6
|
|
@ -829,7 +829,7 @@ export default function CreateArticleForm() {
|
|||
</div>
|
||||
)}
|
||||
</div>
|
||||
<div className="mt-3 flex lg:hidden flex-row justify-end gap-3">
|
||||
{/* <div className="mt-3 flex lg:hidden flex-row justify-end gap-3">
|
||||
<Button
|
||||
color="primary"
|
||||
type="submit"
|
||||
|
|
@ -852,10 +852,10 @@ export default function CreateArticleForm() {
|
|||
Kembali
|
||||
</Button>
|
||||
</Link>
|
||||
</div>
|
||||
</div> */}
|
||||
</div>
|
||||
|
||||
<div className="hidden lg:flex flex-row justify-end gap-3">
|
||||
<div className="flex flex-row justify-end gap-3">
|
||||
<Button
|
||||
color="primary"
|
||||
type="submit"
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ export const AdminLayout = ({ children }: Props) => {
|
|||
|
||||
return (
|
||||
<SidebarProvider>
|
||||
<div className="!h-screen flex items-center flex-row !overflow-y-hidden">
|
||||
<div className="!h-auto md:!h-screen flex items-center flex-row !overflow-y-hidden">
|
||||
<Sidebar sidebarData={isOpen} updateSidebarData={updateSidebarData} />
|
||||
<SidebarMobile
|
||||
sidebarData={isOpen}
|
||||
|
|
|
|||
|
|
@ -408,7 +408,7 @@ const SidebarMobile: React.FC<SidebarProps> = ({ updateSidebarData }) => {
|
|||
|
||||
return (
|
||||
<div
|
||||
className={`z-50 flex lg:hidden absolute h-screen flex-grow ${
|
||||
className={`z-50 flex lg:hidden absolute h-screen top-0 flex-grow ${
|
||||
isOpen ? "min-w-[240px]" : "hidden"
|
||||
}`}
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in New Issue