Merge pull request #4682 from h3poteto/iss-4653/fold-side-menu

Fix nested css
This commit is contained in:
AkiraFukushima 2023-12-03 01:01:42 +09:00 committed by GitHub
commit 6ea5ed97ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 23 deletions

View File

@ -39,26 +39,24 @@
.timeline-scrollable {
overflow-y: auto;
overflow-x: auto;
&::-webkit-scrollbar {
width: 6px !important;
height: 6px !important;
}
&::-webkit-scrollbar-thumb {
background-color: rgb(203 213 225);
border-radius: 4px !important;
opacity: 0;
}
&::-webkit-scrollbar-track {
border-radius: 4px !important;
background-color: rgb(241 245 249);
}
&:hover {
&::-webkit-scrollbar-thumb {
opacity: 1;
}
}
}
.timeline-scrollable::-webkit-scrollbar {
width: 6px !important;
height: 6px !important;
}
.timeline-scrollable::-webkit-scrollbar-thumb {
background-color: rgb(203 213 225);
border-radius: 4px !important;
opacity: 0;
}
.timeline-scrollable::-webkit-scrollbar-track {
border-radius: 4px !important;
background-color: rgb(241 245 249);
}
.timeline-scrollable:hover::-webkit-scrollbar-thumb {
opacity: 1;
}

View File

@ -11,7 +11,7 @@ export default function Card(props: Props) {
return (
<div
className="flex border-inherit border border-solid rounded-md w-full cursor-pointer overflow-hidden text-ellipsis"
className="flex border-inherit border border-solid rounded-md w-full cursor-pointer overflow-hidden text-ellipsis mb-1"
onClick={openCard}
>
<div style={{ height: '60px', width: '60px' }}>