Simplemde-markdown-editor: fullscreen mode z-index too low for spectre's avatar styles

Created on 15 Jul 2017  Â·  3Comments  Â·  Source: sparksuite/simplemde-markdown-editor

spectre css sets a z-index of 100 for @z-index-1 used by its avatar styles which when you use simplemde in fullscreen mode leave you with avatars in front of the toolbar and edit area -- Not sure who should fix what here?

Most helpful comment

@prologic I think that it is up to you to override the simplemde z-index as it doesn't seams feasible to me that simplemde can compute the maximum z-index automatically.

As a developer you're the best person to know what is the maximum z-index and, as such, you can override simplemde fullscreen z-index as follow

.editor-toolbar.fullscreen, .CodeMirror-fullscreen { z-index: 101 !important; }

All 3 comments

@prologic Do you have a online demo for that bug?
Thanks.

I can construct one; hold on

James Mills / prologic

E: [email protected]
W: prologic.shortcircuit.net.au

On Sat, Jul 15, 2017 at 11:50 PM, Yan Zhu notifications@github.com wrote:

@prologic https://github.com/prologic Do you have a online demo for
that bug?
Thanks.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sparksuite/simplemde-markdown-editor/issues/610#issuecomment-315589766,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABOv-iDqUroG12R6eCskqpkfkA3yqx_Iks5sObK2gaJpZM4OY7D0
.

@prologic I think that it is up to you to override the simplemde z-index as it doesn't seams feasible to me that simplemde can compute the maximum z-index automatically.

As a developer you're the best person to know what is the maximum z-index and, as such, you can override simplemde fullscreen z-index as follow

.editor-toolbar.fullscreen, .CodeMirror-fullscreen { z-index: 101 !important; }
Was this page helpful?
0 / 5 - 0 ratings

Related issues

rahulnjs picture rahulnjs  Â·  3Comments

ferreiro picture ferreiro  Â·  4Comments

christianmalek picture christianmalek  Â·  5Comments

asvae picture asvae  Â·  3Comments

libregeek picture libregeek  Â·  3Comments