Fossil SCM

Worked around a button glyph misalignment on some older FF versions.

stephan 2021-10-01 18:10 chat-input-rework
Commit 042fe8771f0fd506a9090f5b3bf7d79c85abea80fb1d6d592ad9fd558f7a853d
1 file changed +3 -1
--- src/style.chat.css
+++ src/style.chat.css
@@ -261,11 +261,13 @@
261261
grows in width as the user types, moving the buttons
262262
around */
263263
}
264264
body.chat #chat-edit-buttons > * {
265265
padding: initial/*some skins mess this up for buttons*/;
266
- line-height: inherit/*undo skin funkiness*/;
266
+ line-height:
267
+ 0.1 /* buggy glyph alignment workaround for FF78, possibly
268
+ others. Does not affect well-behaved browsers. */;
267269
min-width: 4ex;
268270
}
269271
body.chat #chat-input-line:not(.compact) #chat-edit-buttons > * {
270272
max-width: 6ex;
271273
min-width: 6ex;
272274
--- src/style.chat.css
+++ src/style.chat.css
@@ -261,11 +261,13 @@
261 grows in width as the user types, moving the buttons
262 around */
263 }
264 body.chat #chat-edit-buttons > * {
265 padding: initial/*some skins mess this up for buttons*/;
266 line-height: inherit/*undo skin funkiness*/;
 
 
267 min-width: 4ex;
268 }
269 body.chat #chat-input-line:not(.compact) #chat-edit-buttons > * {
270 max-width: 6ex;
271 min-width: 6ex;
272
--- src/style.chat.css
+++ src/style.chat.css
@@ -261,11 +261,13 @@
261 grows in width as the user types, moving the buttons
262 around */
263 }
264 body.chat #chat-edit-buttons > * {
265 padding: initial/*some skins mess this up for buttons*/;
266 line-height:
267 0.1 /* buggy glyph alignment workaround for FF78, possibly
268 others. Does not affect well-behaved browsers. */;
269 min-width: 4ex;
270 }
271 body.chat #chat-input-line:not(.compact) #chat-edit-buttons > * {
272 max-width: 6ex;
273 min-width: 6ex;
274

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button