Skip to content

A platform for community discussion. Free, open, simple.

UX: topic timeline minor fixes (#36589)

chapoifce9d25b2996
diff --git a/app/assets/stylesheets/common/topic-timeline.scss b/app/assets/stylesheets/common/topic-timeline.scss
index fccddd4de4d..a9f33264693 100644
--- a/app/assets/stylesheets/common/topic-timeline.scss
+++ b/app/assets/stylesheets/common/topic-timeline.scss
@@ -240,6 +240,7 @@
margin-left: 0.5em;
border-left: 1px solid var(--topic-timeline-border-color);
position: relative;
+ max-width: 100%;
transform: translateZ(0);
}
@@ -268,6 +269,7 @@
background-color: var(--topic-timeline-handle-color);
height: 100%;
float: left;
+ flex-shrink: 0;
z-index: z("base") + 1;
outline: 1px solid transparent;
margin-left: 0.5px;
@@ -284,7 +286,8 @@
.timeline-ago {
color: var(--primary-med-or-secondary-med);
- max-width: 4.6em;
+ max-width: 100%;
+ white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
diff --git a/themes/horizon/scss/topic.scss b/themes/horizon/scss/topic.scss
index 20da34e43f1..618fe973a04 100644
--- a/themes/horizon/scss/topic.scss
+++ b/themes/horizon/scss/topic.scss
@@ -94,12 +94,6 @@ body:not(.d-toc-installed) {
}
}
-.timeline-container .topic-timeline .timeline-ago {
- max-width: unset;
- overflow: unset;
- text-overflow: unset;
-}
-
.timeline-container .topic-timeline .timeline-scroller-content {
overflow: unset;
}
@@ -121,17 +115,6 @@ body:not(.d-toc-installed) {
margin-bottom: 1em;
}
-.timeline-container.timeline-fullscreen
- .topic-timeline
- .timeline-scrollarea
- .timeline-scroller
- .timeline-handle {
- float: none;
- width: 5px;
- position: relative;
- right: -4px;
-}
-
nav.post-controls .actions button {
font-size: var(--font-0);
}