From fd7a9dd003aa0c113ee0bc84165da49449c0dcb1 Mon Sep 17 00:00:00 2001 From: abe33 Date: Tue, 24 Nov 2015 14:59:30 +0100 Subject: [PATCH] :bug: Prevent stand alone minimaps to have width, height and flex properties It should help the expose plugin to use the minimap. --- styles/minimap.less | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/styles/minimap.less b/styles/minimap.less index eb487d9f..d2d5b46b 100644 --- a/styles/minimap.less +++ b/styles/minimap.less @@ -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 {