Skip to content

Commit

Permalink
Merge pull request #12269 from rak-phillip/bugfix/12195-yaml-icon-dis…
Browse files Browse the repository at this point in the history
…play

Fix keymap icon positioning in codemirror
  • Loading branch information
rak-phillip authored Oct 16, 2024
2 parents 7f4b0f9 + a125cf8 commit 8621d3a
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions shell/components/CodeMirror.vue
Original file line number Diff line number Diff line change
Expand Up @@ -292,17 +292,30 @@ export default {
}
}
.code-mirror .codemirror-container {
z-index: 0;
font-size: inherit !important;
.code-mirror {
position: relative;
.codemirror-container {
z-index: 0;
font-size: inherit !important;
//rm no longer extant selector
.CodeMirror {
height: initial;
background: none
}
.CodeMirror-gutters {
background: inherit;
}
}
// Keyboard mapping overlap
.keymap.overlay {
position: absolute;
display: flex;
top: 7px;
right: 7px;
z-index: 1;
z-index: 5000;
cursor: pointer;
.keymap-indicator {
Expand Down Expand Up @@ -352,16 +365,6 @@ export default {
}
}
}
//rm no longer extant selector
.CodeMirror {
height: initial;
background: none
}
.CodeMirror-gutters {
background: inherit;
}
}
</style>

0 comments on commit 8621d3a

Please sign in to comment.