1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-13 10:06:23 +02:00

Merge pull request #212 from prashantagarwal/bug/Github-211

Fixed z-index
This commit is contained in:
Kushagra Gour
2017-11-09 10:09:17 +05:30
committed by GitHub

View File

@ -309,7 +309,7 @@ body > #demo-frame {
/*line-height: 20px;*/ /*line-height: 20px;*/
} }
.footer { .footer {
z-index: 1; z-index: 6; // Because .console is 6
} }
.main-header { .main-header {
display: flex; display: flex;
@ -896,7 +896,7 @@ transition: 0.25s ease;
} }
.console { .console {
background: var(--color-bg); background: var(--color-bg);
z-index: 1; /* bring above iframe */ z-index: 6; /* bring above iframe & codemirror and also scrollbar in codemirror */
position: absolute; position: absolute;
bottom: 0; bottom: 0;
min-height: 80px; min-height: 80px;
@ -977,4 +977,4 @@ while the theme CSS file is loading */
color: #D1EDFF; color: #D1EDFF;
} }
.cm-s-midnight .CodeMirror-gutters { background: #0F192A; border-right: 1px solid; } .cm-s-midnight .CodeMirror-gutters { background: #0F192A; border-right: 1px solid; }
.cm-s-midnight .CodeMirror-activeline-background { background: #253540; } .cm-s-midnight .CodeMirror-activeline-background { background: #253540; }