We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5abd42a commit 7cbbbb1Copy full SHA for 7cbbbb1
1 file changed
packages/eui/src/components/form/switch/switch.styles.ts
@@ -88,6 +88,9 @@ export const euiSwitchStyles = (euiThemeContext: UseEuiTheme) => {
88
position: relative;
89
display: inline-flex;
90
align-items: flex-start;
91
+ /* Required for inline-flex CSS to not render an extra 2-3px of strut height
92
+ * @see https://stackoverflow.com/a/27536461/4294462 */
93
+ vertical-align: middle;
94
`,
95
// Skip css`` to avoid generating an extra Emotion className
96
enabled: `
0 commit comments