mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Adjust the positioning of the editor toolarea via CSS
This commit is contained in:
parent
2946843b81
commit
1f4de7fe4b
2 changed files with 9 additions and 13 deletions
|
@ -34,12 +34,10 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
#topbutsOuter {
|
#topbutsOuter {
|
||||||
position: fixed;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
padding: 2px;
|
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
padding: 2px;
|
||||||
z-index: 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.topbut {
|
.topbut {
|
||||||
|
@ -94,10 +92,6 @@ button.highlighted {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#fields {
|
|
||||||
margin-top: 35px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dupe {
|
.dupe {
|
||||||
background: var(--flag1-bg);
|
background: var(--flag1-bg);
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,6 +74,7 @@ _html = """
|
||||||
html { background: %s; }
|
html { background: %s; }
|
||||||
#topbutsOuter { background: %s; }
|
#topbutsOuter { background: %s; }
|
||||||
</style>
|
</style>
|
||||||
|
<div>
|
||||||
<div id="topbutsOuter">
|
<div id="topbutsOuter">
|
||||||
<div id="topbuts" class="clearfix">
|
<div id="topbuts" class="clearfix">
|
||||||
%s
|
%s
|
||||||
|
@ -81,6 +82,7 @@ html { background: %s; }
|
||||||
</div>
|
</div>
|
||||||
<div id="fields">
|
<div id="fields">
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div id="dupes" style="display:none;">
|
<div id="dupes" style="display:none;">
|
||||||
<a href="#" onclick="pycmd('dupes');return false;">
|
<a href="#" onclick="pycmd('dupes');return false;">
|
||||||
%s
|
%s
|
||||||
|
|
Loading…
Reference in a new issue