UX: prevent timeline overflow in extreme cases (#15303)
This commit is contained in:
parent
d66eb984e4
commit
091ca9dbb1
|
@ -148,6 +148,9 @@
|
||||||
padding-right: 1.5em;
|
padding-right: 1.5em;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
.timeline-scroller-content {
|
.timeline-scroller-content {
|
||||||
|
box-sizing: border-box;
|
||||||
|
max-width: 100%;
|
||||||
|
overflow: hidden;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
padding-right: 1em;
|
padding-right: 1em;
|
||||||
|
@ -233,6 +236,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.timeline-scroller-content {
|
.timeline-scroller-content {
|
||||||
|
box-sizing: border-box;
|
||||||
|
max-width: 100%;
|
||||||
|
overflow: hidden;
|
||||||
padding-left: 1em;
|
padding-left: 1em;
|
||||||
position: absolute; // prevents text length from impacting width
|
position: absolute; // prevents text length from impacting width
|
||||||
}
|
}
|
||||||
|
@ -257,6 +263,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.timeline-replies {
|
.timeline-replies {
|
||||||
|
overflow: hidden;
|
||||||
|
overflow-wrap: break-word;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue