Adjust the positioning of the editor toolarea via CSS

This commit is contained in:
Henrik Giesel 2021-01-21 21:20:57 +01:00
parent 2946843b81
commit 1f4de7fe4b
2 changed files with 9 additions and 13 deletions

View file

@ -34,12 +34,10 @@ body {
}
#topbutsOuter {
position: fixed;
position: sticky;
top: 0;
padding: 2px;
left: 0;
right: 0;
z-index: 1;
padding: 2px;
}
.topbut {
@ -94,10 +92,6 @@ button.highlighted {
}
}
#fields {
margin-top: 35px;
}
.dupe {
background: var(--flag1-bg);
}

View file

@ -74,12 +74,14 @@ _html = """
html { background: %s; }
#topbutsOuter { background: %s; }
</style>
<div id="topbutsOuter">
<div id="topbuts" class="clearfix">
%s
<div>
<div id="topbutsOuter">
<div id="topbuts" class="clearfix">
%s
</div>
</div>
<div id="fields">
</div>
</div>
<div id="fields">
</div>
<div id="dupes" style="display:none;">
<a href="#" onclick="pycmd('dupes');return false;">