UX: fix alignment on topic progress bar and remove some magic numbers
This commit is contained in:
parent
94ab48c616
commit
f7923958e2
|
@ -23,28 +23,29 @@
|
|||
animation-name: button-jump-up;
|
||||
width: 145px;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
margin-bottom: 0px;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: -2em;
|
||||
.btn {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#topic-progress-wrapper {
|
||||
display: flex;
|
||||
.topic-admin-menu-button-container {
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
left: -38px;
|
||||
width: 0px;
|
||||
.widget-button {
|
||||
height: 35px;
|
||||
border-right: 1px solid dark-light-diff($primary, $secondary, 80%, -70%);
|
||||
display: flex;
|
||||
> span {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
.topic-admin-popup-menu.right-side {
|
||||
position: relative;
|
||||
right: 50px;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
left: auto;
|
||||
transition: bottom 0.5s;
|
||||
transform: translateZ(
|
||||
0
|
||||
); // iOS11 Rendering bug https://meta.discourse.org/t/wrench-menu-not-disappearing-on-ios/94297
|
||||
|
|
|
@ -50,17 +50,12 @@
|
|||
|
||||
#topic-progress-wrapper {
|
||||
position: fixed;
|
||||
width: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: z("timeline");
|
||||
margin-right: 148px;
|
||||
&:not(.docked) {
|
||||
margin-bottom: env(safe-area-inset-bottom);
|
||||
}
|
||||
.topic-admin-menu-button-container .toggle-admin-menu {
|
||||
height: 43px;
|
||||
}
|
||||
}
|
||||
|
||||
#topic-progress-expanded {
|
||||
|
|
Loading…
Reference in New Issue