Fixed minimize button scrolling up with the tab

This commit is contained in:
thepaperpilot 2021-09-04 22:46:06 -05:00
parent 59a1b171dc
commit 8842da90ec
2 changed files with 9 additions and 6 deletions

View file

@ -295,9 +295,9 @@ export default defineComponent({
}
.minimize {
position: absolute;
position: sticky;
top: 6px;
right: 16px;
right: 9px;
z-index: 7;
line-height: 30px;
width: 30px;
@ -309,11 +309,14 @@ export default defineComponent({
font-size: 40px;
cursor: pointer;
padding: 0;
margin-top: -44px;
margin-right: -30px;
}
.minimized + .minimize {
transform: rotate(-90deg);
top: 10px;
right: 18px;
}
.goBack {

View file

@ -57,10 +57,10 @@ export default defineComponent({
.sticky {
position: sticky;
background: var(--background);
margin-left: -7px;
margin-right: -7px;
padding-left: 7px;
padding-right: 7px;
margin-left: -10px;
margin-right: -10px;
padding-left: 10px;
padding-right: 10px;
z-index: 3;
}