mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-05-24 08:22:10 -04:00
[ENG-976] Fixed Missing scrollbar in the Explorer (#1228)
* fixed scroller in the `Explorer` * Update style.scss --------- Co-authored-by: Utku <74243531+utkubakir@users.noreply.github.com>
This commit is contained in:
@@ -44,7 +44,7 @@ export default function Explorer(props: PropsWithChildren<Props>) {
|
||||
<div className="flex-1 overflow-hidden">
|
||||
<div
|
||||
ref={explorer.scrollRef}
|
||||
className="custom-scroll explorer-scroll relative h-screen overflow-x-hidden"
|
||||
className="explorer-scroll relative h-screen overflow-x-hidden overflow-y-auto"
|
||||
style={{
|
||||
paddingTop: TOP_BAR_HEIGHT,
|
||||
paddingRight: explorerStore.showInspector ? INSPECTOR_WIDTH : 0
|
||||
|
||||
@@ -60,19 +60,14 @@ body {
|
||||
width: 6px;
|
||||
}
|
||||
&::-webkit-scrollbar-track {
|
||||
@apply mt-[46px] rounded-[6px] bg-[#00000000];
|
||||
@apply mt-[46px] rounded-[6px] bg-transparent;
|
||||
}
|
||||
&::-webkit-scrollbar-thumb {
|
||||
@apply rounded-[6px] bg-transparent;
|
||||
@apply rounded-[6px] bg-app-box;
|
||||
}
|
||||
&::-webkit-scrollbar-corner {
|
||||
background-color: transparent;
|
||||
}
|
||||
&:hover {
|
||||
&::-webkit-scrollbar-thumb {
|
||||
@apply bg-app-divider/20;
|
||||
}
|
||||
}
|
||||
}
|
||||
.default-scroll {
|
||||
&::-webkit-scrollbar {
|
||||
|
||||
Reference in New Issue
Block a user