mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-14 06:46:36 +00:00
Increased the z-index
of the scroll-bar thumb
to make it visible even with the customized list item `background-color` Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
parent
20bc3c6f13
commit
186180800f
@ -61,6 +61,14 @@
|
|||||||
background-color: var(--theia-layout-color2);
|
background-color: var(--theia-layout-color2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Perfect scrollbar does not like if we explicitly set the `background-color` of the contained elements.
|
||||||
|
See above: `.filterable-list-container .items-container > div:nth-child(odd|event)`.
|
||||||
|
We have to increase `z-index` of the scroll-bar thumb. Otherwise, the thumb is not visible.
|
||||||
|
https://github.com/arduino/arduino-pro-ide/issues/82 */
|
||||||
|
.arduino-list-widget .ps__rail-y > .ps__thumb-y {
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
.component-list-item {
|
.component-list-item {
|
||||||
padding: 10px 10px 10px 15px;
|
padding: 10px 10px 10px 15px;
|
||||||
font-size: var(--theia-ui-font-size1);
|
font-size: var(--theia-ui-font-size1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user