mirror of https://github.com/zulip/zulip.git
css: Replace generated U+202A LEFT-TO-RIGHT EMBEDDING with CSS properties.
These generated characters (added in #9889) were causing poor wrapping behavior, at least in Firefox. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
parent
597c812300
commit
aad61c42a3
|
@ -435,16 +435,8 @@ code {
|
|||
/* 12/14 em, so bootstrap's default 12 px,
|
||||
when body is the default 14 px */
|
||||
font-size: 0.857em;
|
||||
}
|
||||
|
||||
code::before {
|
||||
/* Add a left-to-right embedding character before each code block */
|
||||
content: '\202a';
|
||||
}
|
||||
|
||||
code::after {
|
||||
/* And add a pop directional formatting character after each code block */
|
||||
content: '\202c';
|
||||
unicode-bidi: embed;
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.message_content code {
|
||||
|
|
Loading…
Reference in New Issue