The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
.frac { | .frac, | ||
.sfrac { | |||
white-space: nowrap; | white-space: nowrap; | ||
} | } | ||
Line 12: | Line 13: | ||
.frac .den { | .frac .den { | ||
vertical-align: sub; | vertical-align: sub; | ||
} | |||
.sfrac.tion, | |||
.sfrac .tion { | |||
display: inline-block; | |||
vertical-align: -0.5em; | |||
font-size: 85%; | |||
text-align: center; | |||
} | |||
.sfrac .num, | |||
.sfrac .den { | |||
display: block; | |||
line-height: 1em; | |||
margin: 0 0.1em; | |||
} | |||
.sfrac .den { | |||
border-top: 1px solid; | |||
} | } | ||
Line 18: | Line 38: | ||
border: 0; | border: 0; | ||
clip: rect(0, 0, 0, 0); | clip: rect(0, 0, 0, 0); | ||
height: 1px; | height: 1px; | ||
margin: -1px; | margin: -1px; | ||
Line 27: | Line 46: | ||
/* white-space: nowrap; /* already have nowrap above */ | /* white-space: nowrap; /* already have nowrap above */ | ||
} | } | ||