Add min and max width and height resets to CSS where appropriate. Resolves issue #517.

This commit is contained in:
Davide P. Cervone 2014-02-06 15:20:19 -05:00
parent 57d85a4f69
commit 8dc99cef2d
3 changed files with 21 additions and 4 deletions

View File

@ -224,17 +224,23 @@
"white-space": "nowrap",
"float": "none",
"direction": "ltr",
"max-width": "none", "max-height": "none",
"min-width": 0, "min-height": 0,
border: 0, padding: 0, margin: 0
},
".MathJax_Display": {
position: "relative",
display: "block!important",
"max-width": "none", "max-height": "none",
"min-width": 0, "min-height": 0,
width: "100%"
},
".MathJax img, .MathJax nobr, .MathJax a": {
border: 0, padding: 0, margin: 0, "max-width": "none", "max-height": "none",
border: 0, padding: 0, margin: 0,
"max-width": "none", "max-height": "none",
"min-width": 0, "min-height": 0,
"vertical-align": 0, "line-height": "normal",
"text-decoration": "none"
},
@ -275,11 +281,13 @@
".MathJax_ExBox": {
display:"block!important", overflow:"hidden",
width:"1px", height:"60ex"
width:"1px", height:"60ex",
"min-height": 0, "max-height":"none"
},
".MathJax .MathJax_EmBox": {
display:"block!important", overflow:"hidden",
width:"1px", height:"60em"
width:"1px", height:"60em",
"min-height": 0, "max-height":"none"
},
".MathJax .MathJax_HitBox": {

View File

@ -101,6 +101,8 @@
"white-space": "nowrap",
"float": "none",
"direction": "ltr",
"max-width": "none", "max-height": "none",
"min-width": 0, "min-height": 0,
border: 0, padding: 0, margin: 0
},
@ -115,6 +117,7 @@
".MathJax_mmlExBox": {
display:"block!important", overflow:"hidden",
height:"1px", width:"60ex",
"min-height": 0, "max-height":"none",
padding:0, border: 0, margin: 0
}
}

View File

@ -52,12 +52,16 @@
"white-space": "nowrap",
"float": "none",
"direction": "ltr",
"max-width": "none", "max-height": "none",
"min-width": 0, "min-height": 0,
border: 0, padding: 0, margin: 0
},
".MathJax_SVG_Display": {
position: "relative",
display: "block!important",
"max-width": "none", "max-height": "none",
"min-width": 0, "min-height": 0,
width: "100%"
},
@ -81,7 +85,9 @@
".MathJax_SVG_ExBox": {
display:"block!important", overflow:"hidden",
width:"1px", height:"60ex"
width:"1px", height:"60ex",
"min-height": 0, "max-height":"none",
padding:0, border: 0, margin: 0
},
"#MathJax_SVG_Tooltip": {