You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css/mathfield.less
+30-4Lines changed: 30 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -26,14 +26,19 @@
26
26
}
27
27
}
28
28
29
+
:host {
30
+
display: block;
31
+
}
32
+
29
33
// The .ML__container includes the visible parts of the math-field:
30
-
// the .ML__content and the .ML__virtual-keyboard-toggle.
34
+
// the .ML__content and the toggle buttons (wrapped in .ML__toggles).
31
35
// .ML__container
32
36
// > .ML__content
33
37
// > .ML__latex > .ML__base
34
38
// > .ML__selection
35
-
// > .ML__virtual-keyboard-toggle
36
-
// > .ML__menu-toggle
39
+
// > .ML__toggles
40
+
// > .ML__virtual-keyboard-toggle
41
+
// > .ML__menu-toggle
37
42
.ML__container {
38
43
display: inline-flex;
39
44
flex-flow: row;
@@ -44,7 +49,7 @@
44
49
padding: 4px;
45
50
box-sizing: border-box;
46
51
47
-
/* This attribute is necessary to work around a Firefox issue where
52
+
/* This attribute is necessary to work around a Firefox issue where
48
53
where clicking multiple times on the border leads to a focused mathfield that cannot be edited until focus is lost and regained (also fixes the multiple cursor issue on firefox that can occur with the same sequence of events).
49
54
*/
50
55
pointer-events: auto;
@@ -194,6 +199,27 @@
194
199
}
195
200
}
196
201
202
+
/* Container for the virtual keyboard toggle and menu toggle buttons */
0 commit comments