mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
UX: truncate long topic tiles to prevent badges and date from wrapping
This commit is contained in:
parent
aa97f6fdba
commit
72bd388ff7
|
@ -62,22 +62,23 @@
|
|||
margin: 10px 0 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
|
||||
&:first-of-type {
|
||||
margin-top: 13px;
|
||||
}
|
||||
|
||||
a.last-posted-at,
|
||||
a.last-posted-at:visited {
|
||||
font-size: $font-down-1;
|
||||
color: dark-light-choose($primary-medium, $secondary-high);
|
||||
}
|
||||
|
||||
.topic-statuses .fa {
|
||||
color: dark-light-choose($primary-medium, $secondary-high);
|
||||
}
|
||||
|
||||
.title {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
flex: 0 1 auto;
|
||||
}
|
||||
.topic-post-badges .badge.new-posts,
|
||||
.title {
|
||||
margin-right: 5px;
|
||||
|
|
Loading…
Reference in New Issue
Block a user