UX: fix alignment on topic progress bar and remove some magic numbers

This commit is contained in:
Kris 2019-10-01 11:45:51 -04:00
parent 94ab48c616
commit f7923958e2
2 changed files with 11 additions and 15 deletions

View File

@ -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

View File

@ -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 {