mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-06-21 11:05:36 +02:00
Fix MangaList Overflow, top-position
This commit is contained in:
@ -8,8 +8,6 @@
|
||||
|
||||
.app-content {
|
||||
position: absolute;
|
||||
height: calc(100% - 60px);
|
||||
top: 60px;
|
||||
width: 100%;
|
||||
left: 0;
|
||||
}
|
@ -53,7 +53,7 @@ export default function MangaList({connected, setShowSearch}: {connected: boolea
|
||||
}
|
||||
|
||||
return(
|
||||
<Stack direction="row" spacing={1} flexWrap={"wrap"}>
|
||||
<Stack direction="row" spacing={1} flexWrap={"wrap"} sx={{overflowX: 'hidden', overflowY: 'auto' /* Badge overflow */}} paddingTop={"6px" /* Badge overflow */}>
|
||||
<Badge invisible sx={{margin: "8px !important"}}>
|
||||
<Card onClick={() => setShowSearch(true)} sx={{height:"fit-content",width:"fit-content"}}>
|
||||
<CardCover sx={{margin:"var(--Card-padding)"}}>
|
||||
|
@ -1,5 +1,6 @@
|
||||
.header {
|
||||
position: static !important;
|
||||
position: sticky !important;
|
||||
z-index: 1000;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
|
@ -7,7 +7,7 @@ import { GitHub } from "@mui/icons-material";
|
||||
export default function Header({children} : {children? : ReactElement<any, any> | ReactElement<any,any>[] | undefined}) : ReactElement {
|
||||
|
||||
return (
|
||||
<Sheet className={"header"} sx={{position: "sticky !important", zIndex: 100}}>
|
||||
<Sheet className={"header"}>
|
||||
<Stack direction={"row"} spacing={2} sx={{width: "100%", alignItems: "center"}}>
|
||||
{children}
|
||||
<Box sx={{flexGrow: 1}} />
|
||||
|
Reference in New Issue
Block a user