Skip to content

Commit

Permalink
🐛 Prevent stand alone minimaps to have width, height and flex properties
Browse files Browse the repository at this point in the history
It should help the expose plugin to use the minimap.
  • Loading branch information
abe33 committed Nov 24, 2015
1 parent 04fdd35 commit fd7a9dd
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions styles/minimap.less
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,19 @@ atom-text-editor::shadow .editor--private {
atom-text-editor::shadow, atom-text-editor, html {
atom-text-editor-minimap {
display: block;
width: 10%;
height: 100%;
overflow: hidden;
position: relative;
order: 3;
flex: 0 0 10%;

-webkit-user-select: none;

&.left {
order: 1;
&:not([stand-alone]) {
height: 100%;
order: 3;
width: 10%;
flex: 0 0 10%;

&.left {
order: 1;
}
}

&.absolute {
Expand Down

0 comments on commit fd7a9dd

Please sign in to comment.