UX: Improve timeline touch hit areas (#16038)

This commit is contained in:
Penar Musaraj 2022-02-23 17:55:48 +01:00 committed by GitHub
parent e871865a61
commit c80730ea4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 5 deletions

View File

@ -137,9 +137,8 @@
width: 100px;
}
.timeline-scrollarea {
border-left: 0;
border-right-style: solid;
border-right-width: 1px;
border-right: 1px solid var(--tertiary-low-or-tertiary-high);
border-left: none;
max-width: 120px;
.timeline-scroller {
@ -162,6 +161,11 @@
right: -6px;
}
}
.timeline-padding {
margin-left: 0;
margin-right: -1em;
}
}
}
@ -214,8 +218,7 @@
.timeline-scrollarea {
margin-top: 0.5em;
margin-left: 0.5em;
border-left: 1px solid;
border-color: var(--tertiary-low-or-tertiary-high);
border-left: 1px solid var(--tertiary-low-or-tertiary-high);
position: relative;
-webkit-transform: translate3d(0, 0, 0);
}
@ -223,6 +226,11 @@
.timeline-padding {
transition: height 0.15s ease-out;
cursor: pointer;
// this element has a click event
// the negative margin lets this element overlap
// the scrollarea's vertical track and thus it
// enables taps on the track to work
margin-left: -1em;
.widget-dragging & {
transition: none;
}