commit 415be7eaf76f82186b962264b6f2c80e9477c12a
parent 83b482f4b4d32d1445c0344a7e5ddf811d36e47f
Author: Davide P. Cervone <dpvc@union.edu>
Date: Sat, 17 Oct 2015 23:35:24 -0400
Add explicit table border-spacing since Firefox seems to need this to avoid too large a space around the math when focusing. If the spacing is too small, it seems that Firefox fails to treat the inlein-table as a table, so use 3px and use the margin to remove it so there is no change in position.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/unpacked/jax/output/HTML-CSS/jax.js b/unpacked/jax/output/HTML-CSS/jax.js
@@ -267,7 +267,8 @@
// Focus elements for keyboard tabbing.
".MathJax:focus, *:focus .MathJax": {
- display:"inline-table" // see issue #1282
+ display:"inline-table", // see issue #1282
+ "border-spacing":"3px", margin:"-3px"
},
".MathJax_Display": {