mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 02:17:19 +00:00
topic-filter-input: Remove text-overflow property.
This commit removes the text-overflow property from input fields. Chrome has a bug where truncation indicators in scrollable contenteditable divs do not adjust when scrolling to the rightmost part of long text. This behavior is related to https://issues.chromium.org/issues/41245282. Firefox handles this correctly, but to ensure consistency, we will rely on the default behavior of input fields, hiding overflowed text without adding ellipses. Fixes part of #35284.
This commit is contained in:
committed by
Tim Abbott
parent
6e43d34a34
commit
340b6adab4
@@ -1353,14 +1353,6 @@ li.top_left_scheduled_messages {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* We only establish the ellipsis when
|
|
||||||
the input is not focused, thanks to a
|
|
||||||
Safari bug that makes long inputs
|
|
||||||
unreachable and unscrollable. */
|
|
||||||
.input:not(:focus) {
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user