diff --git a/lib/expose-tab-view.coffee b/lib/expose-tab-view.coffee index 384f466..c82b421 100644 --- a/lib/expose-tab-view.coffee +++ b/lib/expose-tab-view.coffee @@ -61,16 +61,20 @@ class ExposeView extends View minimap = minimapAPI.standAloneMinimapForEditor(@item) minimapElement = atom.views.getView(minimap) - # Override minimap scroll, remove controls and set custom - # styling, scaling and position. + # Override minimap scroll, remove controls and set custom style minimapElement.controls?.remove() minimapElement.style.cssText = ''' - width: 130px; - height: 90px; + width: 190px; + height: 130px; + left: 10px; pointer-events: none; - transform: scale3d(1.5, 1.5, 1) translate(-20px, 15px); + // transform: scale3d(1.5, 1.5, 1) translate(-20px, 15px); ''' + minimap.setCharWidth(2) + minimap.setCharHeight(4) + minimap.setInterline(2) + @tabBody.html minimapElement else @tabBody.html $$ -> diff --git a/styles/expose.less b/styles/expose.less index 67196b7..1ca14fc 100644 --- a/styles/expose.less +++ b/styles/expose.less @@ -106,7 +106,7 @@ atom-workspace-axis.expose-blur { padding-bottom: 4px; // Do not jump when adding a border atom-text-editor-minimap { - right: -1px; + margin-left: -1px; } } }