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:
Anders Kaseorg 2019-03-11 17:12:53 -07:00 committed by Tim Abbott
parent 597c812300
commit aad61c42a3
1 changed files with 2 additions and 10 deletions

View File

@ -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 {