generated from Luis/nextjs-python-web-template
fix responsive design of button to collapse the sidebar
This commit is contained in:
@@ -113,8 +113,12 @@ export function Sidebar(props: SidebarProps) {
|
|||||||
priority
|
priority
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="absolute top-0 right-0">
|
<div className="lg:absolute lg:top-0 lg:right-0">
|
||||||
<IconButton size="large" className="text-white" onClick={onClose}>
|
<IconButton
|
||||||
|
size="large"
|
||||||
|
className="text-white"
|
||||||
|
onClick={onClose}
|
||||||
|
>
|
||||||
<ChevronLeftIcon fontSize="inherit" />
|
<ChevronLeftIcon fontSize="inherit" />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user