refactor: move changes to kilo-ui

This commit is contained in:
Catriel Müller
2026-02-19 10:57:54 -03:00
parent 35dc27e805
commit 3a82fee72a
3 changed files with 34 additions and 21 deletions
@@ -2,4 +2,32 @@
.shiki {
margin: 0rem;
}
pre {
scrollbar-width: thin;
scrollbar-color: var(--border-weak-base) transparent;
&::-webkit-scrollbar-track {
background: transparent;
}
&::-webkit-scrollbar-corner {
background: transparent;
}
&::-webkit-scrollbar-button {
display: none;
width: 0;
height: 0;
}
&::-webkit-scrollbar-thumb {
background: var(--border-weak-base);
border-radius: 4px;
&:hover {
background: var(--border-strong-base);
}
}
}
}
+4 -2
View File
@@ -49,7 +49,8 @@
}
::-webkit-scrollbar-button {
display: block;
display: none;
width: 0;
height: 0;
}
@@ -63,7 +64,8 @@ html[data-theme="kilo-vscode"] {
font-weight: var(--vscode-font-weight);
::-webkit-scrollbar-button {
display: block;
display: none;
width: 0;
height: 0;
}
+2 -19
View File
@@ -155,26 +155,9 @@
margin-bottom: 2rem;
overflow: auto;
/* Hide vertical scrollbar, show horizontal */
scrollbar-width: thin;
scrollbar-color: var(--border-weak-base) transparent;
scrollbar-width: none;
&::-webkit-scrollbar {
width: 0;
height: 8px;
}
&::-webkit-scrollbar-track {
background: transparent;
}
&::-webkit-scrollbar-thumb {
background: var(--border-weak-base);
border-radius: 4px;
&:hover {
background: var(--border-strong-base);
}
display: none;
}
}