Skip to content

Commit ab01aac

Browse files
silverwindearl-warren
authored andcommitted
Remove scrollbar customizations (#29800)
Fixes go-gitea/gitea#29652. Removes all scrollbar customization as per popular vote on go-gitea/gitea#29652 (comment). There is one more case of `-webkit-scrollbar` left in CSS and go-gitea/gitea#29400 will get rid of that as well. (cherry picked from commit 0827552d9ab6bec5fccef86139cbad3ae7b582b7)
1 parent ca39d74 commit ab01aac

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

web_src/css/base.css

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -116,33 +116,9 @@ h1.error-code {
116116
}
117117

118118
* {
119-
scrollbar-color: var(--color-primary) transparent;
120119
caret-color: var(--color-caret);
121120
}
122121

123-
::-webkit-scrollbar {
124-
width: 10px;
125-
height: 10px;
126-
}
127-
128-
::-webkit-scrollbar-thumb {
129-
box-shadow: inset 0 0 0 6px var(--color-primary);
130-
border: 2px solid transparent;
131-
border-radius: var(--border-radius);
132-
}
133-
134-
::-webkit-scrollbar-thumb:window-inactive {
135-
box-shadow: inset 0 0 0 6px var(--color-primary);
136-
}
137-
138-
::-webkit-scrollbar-thumb:hover {
139-
box-shadow: inset 0 0 0 6px var(--color-primary-dark-2);
140-
}
141-
142-
::-webkit-scrollbar-corner {
143-
background: transparent;
144-
}
145-
146122
::file-selector-button {
147123
border: 1px solid var(--color-light-border);
148124
color: var(--color-text-light);

0 commit comments

Comments
 (0)