AndreP-git commited on
Commit ·
f687ef6
1
Parent(s): 1074451
fix resize
Browse files- index.html +3 -1
index.html
CHANGED
|
@@ -332,7 +332,9 @@
|
|
| 332 |
/* Always a single line: everything inside is sized in em, and
|
| 333 |
fitFormula() in app.js lowers font-size when the line would overflow */
|
| 334 |
.formula {
|
| 335 |
-
|
|
|
|
|
|
|
| 336 |
display: flex;
|
| 337 |
align-items: center;
|
| 338 |
flex-wrap: nowrap;
|
|
|
|
| 332 |
/* Always a single line: everything inside is sized in em, and
|
| 333 |
fitFormula() in app.js lowers font-size when the line would overflow */
|
| 334 |
.formula {
|
| 335 |
+
/* Centered vertically in the card, but only as tall as its content,
|
| 336 |
+
so the term boxes do not stretch to the card height */
|
| 337 |
+
margin: auto 0;
|
| 338 |
display: flex;
|
| 339 |
align-items: center;
|
| 340 |
flex-wrap: nowrap;
|