Skip to content

Commit 2b0ea36

Browse files
committed
fix: mac scrollbars with wordwrap off was bad render
1 parent 69e79e6 commit 2b0ea36

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

src/styles/brackets_codemirror_override.less

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -150,28 +150,20 @@ div.CodeMirror-cursors {
150150
border-right: none;
151151
}
152152

153-
.platform-mac {
154-
.CodeMirror-scrollbar-filler {
155-
background-image: url(images/scrollbar-mac-corner.png);
156-
}
157-
.CodeMirror-gutter-filler {
158-
background-image: url(images/scrollbar-mac-bg.png);
159-
}
160-
}
161153
.platform-win {
162154
.CodeMirror-scrollbar-filler,
163155
.CodeMirror-gutter-filler {
164-
background-color: @win-scrollbar-track;
156+
background-color: transparent;
165157
height: 12px !important;
166158
}
167159
.CodeMirror-scrollbar-filler {
168160
width: 12px !important;
169161
}
170162
}
171-
.platform-linux {
163+
.platform-linux, .platform-mac {
172164
.CodeMirror-scrollbar-filler,
173165
.CodeMirror-gutter-filler {
174-
background-color: @background;
166+
background-color: transparent;
175167
height: 12px !important;
176168
}
177169
.CodeMirror-scrollbar-filler {

src/styles/brackets_scrollbars.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
&.platform-linux, &.platform-mac {
183183
.CodeMirror-scrollbar-filler,
184184
.CodeMirror-gutter-filler {
185-
background-color: #1d1f21;
185+
background-color: transparent;
186186
}
187187

188188
::-webkit-scrollbar-thumb {
-102 Bytes
Binary file not shown.
-115 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)