Closed staticfloat closed 7 years ago
You can fix that by including
atom-text-editor::shadow atom-text-editor-minimap { // `::shadow` will be unnecessary for Atom >= 1.13
z-index: 5;
}
in your styles.less
stylesheet. atom-minimap doesn't define any z-index
for itself though, and our overlays have to -- so unless we were to add the above defintion (which feels wrong to me), there's no way for ink to really solve this.
Is this something that I could reasonably open an issue on the minimap repo about?
Imho it makes sense for the minimap to have a z-index: 2
or similar (not higher than that though, because then it'd be above the scrollbars -- ink's overlays probably should be z-index: 1
). Not sure if that would break anything though.
I'll go see if they're interested in doing that then. Thanks!
Actually, looking at what your fix looks like, it appears that the minimap does not have a solid background, so I'm not sure this fix actually makes anything better. ;)
I think I prefer the original behavior. :)
Heh, okay ;)
I have absolute-mode
for the minimap activated anyways, so it fits in nicely if the overlays are behind the (transparent) minimap, just like the code.
Large evaluation results overlay a minimap on the right.