add center to ButtonExpand + misc fix

This commit is contained in:
axolotle
2021-07-07 21:25:33 +02:00
parent fab878e2e7
commit 5defd3ce03
4 changed files with 10 additions and 3 deletions
+1
View File
@@ -13,4 +13,5 @@ body,
main {
flex: 1;
overflow-y: auto;
overflow-x: hidden;
}
+7 -1
View File
@@ -2,7 +2,7 @@
display: inline-block;
position: relative;
&:not(:hover) .btn-expand {
&.on-hover:not(:hover) .btn-expand {
display: none;
}
@@ -11,6 +11,12 @@
top: 0;
right: 0;
&.center {
top: 50%;
right: 50%;
transform: translate(50%, -50%)
}
padding: 0;
width: 75px;
height: 70px;