Skip to content

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

UX: hide date in timeline when wrapping (#19912)

Kris7ebd8a44f5c4
diff --git a/app/assets/stylesheets/common/topic-timeline.scss b/app/assets/stylesheets/common/topic-timeline.scss
index dcf6afb5236..ea13ee5bc38 100644
--- a/app/assets/stylesheets/common/topic-timeline.scss
+++ b/app/assets/stylesheets/common/topic-timeline.scss
@@ -259,6 +259,7 @@
overflow: hidden;
padding-left: 1em;
position: absolute; // prevents text length from impacting width
+ max-height: 3em; // this hides the date when the count + date would wrap to more than 2 lines
}
.timeline-ago {