mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 02:19:27 +08:00
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;
|
||||
justify-content: flex-end;
|
||||
.timeline-scroller-content {
|
||||
box-sizing: border-box;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
text-align: right;
|
||||
padding-left: 0;
|
||||
padding-right: 1em;
|
||||
|
@ -233,6 +236,9 @@
|
|||
}
|
||||
|
||||
.timeline-scroller-content {
|
||||
box-sizing: border-box;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
padding-left: 1em;
|
||||
position: absolute; // prevents text length from impacting width
|
||||
}
|
||||
|
@ -257,6 +263,8 @@
|
|||
}
|
||||
|
||||
.timeline-replies {
|
||||
overflow: hidden;
|
||||
overflow-wrap: break-word;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user