Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15336146
D21026.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
629 B
Referenced Files
None
Subscribers
None
D21026.diff
View Options
diff --git a/webroot/rsrc/css/aphront/tokenizer.css b/webroot/rsrc/css/aphront/tokenizer.css
--- a/webroot/rsrc/css/aphront/tokenizer.css
+++ b/webroot/rsrc/css/aphront/tokenizer.css
@@ -72,7 +72,17 @@
cursor: pointer;
border-radius: 3px;
color: {$sh-bluetext};
- min-height: 16px;
+
+ /* See T13495. Certain Chinese glyphs can cause layout artifacts unless
+ we're fairly aggressive about specifying element sizing. */
+
+ line-height: 18px;
+ min-height: 20px;
+ max-height: 20px;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ max-width: 95%;
}
a.jx-tokenizer-token:hover {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 9, 6:18 PM (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7390507
Default Alt Text
D21026.diff (629 B)
Attached To
Mode
D21026: Add more layout constraints to tokenizer CSS to prevent layout issues with Chinese glyphs in Firefox 73
Attached
Detach File
Event Timeline
Log In to Comment