@@ -30,22 +30,26 @@ atom-text-editor, html {
3030 cursor : default ;
3131
3232 & :not ([stand- alone]) {
33+ contain : @contain_all ;
3334 height : 100% ;
3435 order : 3 ;
3536 width : 10% ;
3637 flex : 0 0 10% ;
3738
3839 & .left {
40+ contain : @contain_all ;
3941 order : 1 ;
4042 position : absolute ;
4143 }
4244 }
4345
4446 & .absolute {
47+ contain : @contain_all ;
4548 position : absolute ;
4649 right : 0 ;
4750
4851 & .adjust-absolute-height {
52+ contain : @contain_all ;
4953 pointer-events : none ;
5054
5155 canvas , .minimap-visible-area {
@@ -57,10 +61,12 @@ atom-text-editor, html {
5761 // absolute mode do nothing when the minimap is on the left, because
5862 // it would conflict with the editor's gutter
5963 & .left {
64+ contain : @contain_all ;
6065 right : initial ;
6166 }
6267
6368 .open-minimap-quick-settings {
69+ contain : @contain_all ;
6470 right : 16px ;
6571 }
6672 }
@@ -82,10 +88,12 @@ atom-text-editor, html {
8288 border-left : 0px solid rgba (127 , 127 , 127 , 0.1 );
8389
8490 & :active {
91+ contain : @contain_all ;
8592 cursor : -webkit-grabbing ;
8693 }
8794
8895 & ::after {
96+ contain : @contain_all ;
8997 content : ' ' ;
9098 position : absolute ;
9199 top : 0 ;
@@ -132,11 +140,13 @@ atom-text-editor, html {
132140 transition : opacity 0.4s ;
133141
134142 & :before {
143+ contain : @contain_all ;
135144 content : ' \f02f ' ;
136145 font-family : ' Octicons Regular' ;
137146 }
138147 }
139148 & :hover .open-minimap-quick-settings {
149+ contain : @contain_all ;
140150 opacity : 1 ;
141151 transition : opacity 0.1s ;
142152 }
@@ -162,15 +172,18 @@ minimap-quick-settings {
162172 margin-top : 0 !important ;
163173
164174 .separator {
175+ contain : @contain_all ;
165176 background : @background-color-highlight ;
166177 height : 1px ;
167178
168179 & :first-child {
180+ contain : @contain_all ;
169181 display : none ;
170182 }
171183 }
172184
173185 li :hover {
186+ contain : @contain_except_size ;
174187 background : @background-color-highlight ;
175188 }
176189 }
0 commit comments