Skip to content

Commit 78c8985

Browse files
committed
disable absolutemode styles on left
1 parent 643e931 commit 78c8985

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

styles/minimap.less

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ html {
3131
cursor: default;
3232

3333
&:not([stand-alone]) {
34-
contain: @contain_all;
3534
height: 100%;
3635
order: 3;
3736
width: 10%;
@@ -42,13 +41,13 @@ html {
4241
}
4342
}
4443

45-
&.absolute {
46-
contain: @contain_all;
44+
// ignore absolute mode the minimap is on the left, because
45+
// it would conflict with the editor's gutter
46+
&.absolute:not(.left) {
4747
position: absolute;
4848
right: 0;
4949

5050
&.adjust-absolute-height {
51-
contain: @contain_all;
5251
pointer-events: none;
5352

5453
canvas,
@@ -58,13 +57,6 @@ html {
5857
}
5958
}
6059

61-
// absolute mode do nothing when the minimap is on the left, because
62-
// it would conflict with the editor's gutter
63-
&.left {
64-
contain: @contain_all;
65-
right: initial;
66-
}
67-
6860
.open-minimap-quick-settings {
6961
contain: @contain_all;
7062
right: 16px;
@@ -88,7 +80,6 @@ html {
8880
border-left: 0px solid rgba(127, 127, 127, 0.1);
8981

9082
&:active {
91-
contain: @contain_all;
9283
cursor: -webkit-grabbing;
9384
}
9485

@@ -177,7 +168,6 @@ minimap-quick-settings {
177168
height: 1px;
178169

179170
&:first-child {
180-
contain: @contain_all;
181171
display: none;
182172
}
183173
}

0 commit comments

Comments
 (0)