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;
|
margin: 10px 0 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex-wrap: wrap;
|
|
||||||
|
|
||||||
&:first-of-type {
|
&:first-of-type {
|
||||||
margin-top: 13px;
|
margin-top: 13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.last-posted-at,
|
a.last-posted-at,
|
||||||
a.last-posted-at:visited {
|
a.last-posted-at:visited {
|
||||||
font-size: $font-down-1;
|
font-size: $font-down-1;
|
||||||
color: dark-light-choose($primary-medium, $secondary-high);
|
color: dark-light-choose($primary-medium, $secondary-high);
|
||||||
}
|
}
|
||||||
|
|
||||||
.topic-statuses .fa {
|
.topic-statuses .fa {
|
||||||
color: dark-light-choose($primary-medium, $secondary-high);
|
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,
|
.topic-post-badges .badge.new-posts,
|
||||||
.title {
|
.title {
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
|
|
Loading…
Reference in New Issue