Add support for determining stack order of embedded notes

This commit is contained in:
BrokenEagle
2021-03-16 04:01:18 +00:00
parent 808c039f03
commit 79a70083ef
2 changed files with 14 additions and 0 deletions

View File

@@ -148,6 +148,13 @@
border: 1px solid var(--movable-note-box-border-color);
}
<% for i in 1..5 do %>
<%# Selector order is deliberate as placing the not after the level consistently caused segmentaion faults for unknown reasons. %>
&:not(:hover).level-<%= i %> {
z-index: <%= 100 + i %>;
}
<% end %>
&:not(:hover) div.ui-resizable-handle {
display: none !important;
}