mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-01 00:48:32 +02:00
Fix for the scrollbar in the docs sidebar (#564)
* fix for the scrollbar in the docs sidebar * fix
This commit is contained in:
@@ -63,33 +63,36 @@
|
||||
max-height: calc(100vh - 90px);
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background: var(--brand-gray);
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
scrollbar-width: thin; /* Firefox */
|
||||
scrollbar-width: none; /* Firefox */
|
||||
scrollbar-color: var(--brand-gray) var(--brand-mid-grey) !important;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
display: block;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background: var(--brand-gray);
|
||||
}
|
||||
}
|
||||
|
||||
@media (hover: none) {
|
||||
scrollbar-width: thin; /* Firefox */
|
||||
scrollbar-width: none; /* Firefox */
|
||||
scrollbar-color: var(--brand-gray) var(--brand-mid-grey) !important;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
display: block;
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background: var(--brand-gray);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user