styles: Add overflow: hidden fallback for overflow: clip.

overflow: clip is missing in Safari < 16.
https://caniuse.com/css-overflow

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2022-12-24 20:58:13 -08:00 committed by Tim Abbott
parent 9dbb43eb71
commit 5f76fb16b7
2 changed files with 3 additions and 0 deletions

View File

@ -144,6 +144,7 @@ li.show-more-topics {
.stream-name {
flex: auto;
overflow-x: hidden;
overflow-x: clip;
text-overflow: ellipsis;
min-width: 0;
@ -450,6 +451,7 @@ li.top_left_recent_topics {
flex: auto;
min-width: 0;
white-space: nowrap;
overflow-x: hidden;
overflow-x: clip;
text-overflow: ellipsis;
padding-right: 2px;

View File

@ -998,6 +998,7 @@ td.pointer {
top: 16px;
user-select: none;
white-space: nowrap;
overflow-x: hidden;
overflow-x: clip;
}