diff --git a/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupCollapseConfiguration.test.js.snap b/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupCollapseConfiguration.test.js.snap index d9dbd1bf6..a8524df45 100644 --- a/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupCollapseConfiguration.test.js.snap +++ b/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupCollapseConfiguration.test.js.snap @@ -9,7 +9,7 @@ exports[` matches snapshot with default value
Collapse on mobile
-
+
diff --git a/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupSortConfiguration.test.js.snap b/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupSortConfiguration.test.js.snap index d65422c5a..3d19e399d 100644 --- a/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupSortConfiguration.test.js.snap +++ b/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupSortConfiguration.test.js.snap @@ -11,7 +11,7 @@ exports[` matches snapshot with default values 1`
Use defaults from karma config file
-
+
diff --git a/ui/src/Components/MainModal/Configuration/__snapshots__/MultiGridConfiguration.test.js.snap b/ui/src/Components/MainModal/Configuration/__snapshots__/MultiGridConfiguration.test.js.snap index 038600ff6..a8e44881f 100644 --- a/ui/src/Components/MainModal/Configuration/__snapshots__/MultiGridConfiguration.test.js.snap +++ b/ui/src/Components/MainModal/Configuration/__snapshots__/MultiGridConfiguration.test.js.snap @@ -11,7 +11,7 @@ exports[` matches snapshot with default values 1`] = `
Disable multi-grid
-
+
diff --git a/ui/src/Components/MainModal/Configuration/__snapshots__/ThemeConfiguration.test.js.snap b/ui/src/Components/MainModal/Configuration/__snapshots__/ThemeConfiguration.test.js.snap index f279bc988..32681a7e4 100644 --- a/ui/src/Components/MainModal/Configuration/__snapshots__/ThemeConfiguration.test.js.snap +++ b/ui/src/Components/MainModal/Configuration/__snapshots__/ThemeConfiguration.test.js.snap @@ -9,7 +9,7 @@ exports[` matches snapshot with default values 1`] = `
Automatic theme, follow browser preference
-
+
diff --git a/ui/src/Components/MainModal/Configuration/__snapshots__/index.test.js.snap b/ui/src/Components/MainModal/Configuration/__snapshots__/index.test.js.snap index 5e26e4776..51384fb23 100644 --- a/ui/src/Components/MainModal/Configuration/__snapshots__/index.test.js.snap +++ b/ui/src/Components/MainModal/Configuration/__snapshots__/index.test.js.snap @@ -157,7 +157,7 @@ exports[` matches snapshot 1`] = `
Automatic theme, follow browser preference
-
+
@@ -394,7 +394,7 @@ exports[` matches snapshot 1`] = `
Collapse on mobile
-
+
@@ -475,7 +475,7 @@ exports[` matches snapshot 1`] = `
Use defaults from karma config file
-
+
@@ -558,7 +558,7 @@ exports[` matches snapshot 1`] = `
Disable multi-grid
-
+
diff --git a/ui/src/Components/MainModal/__snapshots__/MainModalContent.test.js.snap b/ui/src/Components/MainModal/__snapshots__/MainModalContent.test.js.snap index 8384e43fa..cf08a07db 100644 --- a/ui/src/Components/MainModal/__snapshots__/MainModalContent.test.js.snap +++ b/ui/src/Components/MainModal/__snapshots__/MainModalContent.test.js.snap @@ -176,7 +176,7 @@ exports[` matches snapshot 1`] = `
Automatic theme, follow browser preference
-
+
@@ -413,7 +413,7 @@ exports[` matches snapshot 1`] = `
Collapse on mobile
-
+
@@ -494,7 +494,7 @@ exports[` matches snapshot 1`] = `
Use defaults from karma config file
-
+
@@ -577,7 +577,7 @@ exports[` matches snapshot 1`] = `
Disable multi-grid
-
+
diff --git a/ui/src/Components/MultiSelect/__snapshots__/index.test.js.snap b/ui/src/Components/MultiSelect/__snapshots__/index.test.js.snap index 47b6d2992..a7dc12987 100644 --- a/ui/src/Components/MultiSelect/__snapshots__/index.test.js.snap +++ b/ui/src/Components/MultiSelect/__snapshots__/index.test.js.snap @@ -8,7 +8,7 @@ exports[` matches snapshot without any extra props 1`] = `
Select...
-
+
@@ -69,7 +69,7 @@ exports[` matches snapshot when focused 1`] = `
Select...
-
+
@@ -93,7 +93,7 @@ exports[` matches snapshot when focused 1`] = `
matches snapshot with a value 1`] = `
foo
-
+
@@ -171,7 +171,7 @@ exports[` matches snapshot with defaults 1`] = `
Select...
-
+
@@ -222,7 +222,7 @@ exports[` matches snapshot with isDisabled=true 1`]
foo
-
+
@@ -274,7 +274,7 @@ exports[` matches snapshot with isMulti=true 1`] = `
Select...
-
+
@@ -339,7 +339,7 @@ exports[` matches snapshot with isMulti=true and a v
-
+
diff --git a/ui/src/Components/SilenceModal/AlertManagerInput/__snapshots__/index.test.js.snap b/ui/src/Components/SilenceModal/AlertManagerInput/__snapshots__/index.test.js.snap index bcf0b9690..4ba4e8d2c 100644 --- a/ui/src/Components/SilenceModal/AlertManagerInput/__snapshots__/index.test.js.snap +++ b/ui/src/Components/SilenceModal/AlertManagerInput/__snapshots__/index.test.js.snap @@ -39,7 +39,7 @@ exports[` matches snapshot 1`] = `
-
+
diff --git a/ui/src/Components/SilenceModal/SilenceMatch/__snapshots__/LabelNameInput.test.js.snap b/ui/src/Components/SilenceModal/SilenceMatch/__snapshots__/LabelNameInput.test.js.snap index 1ab442ad3..f940fb6b2 100644 --- a/ui/src/Components/SilenceModal/SilenceMatch/__snapshots__/LabelNameInput.test.js.snap +++ b/ui/src/Components/SilenceModal/SilenceMatch/__snapshots__/LabelNameInput.test.js.snap @@ -8,7 +8,7 @@ exports[` matches snapshot 1`] = `
name
-
+
diff --git a/ui/src/Components/SilenceModal/SilenceMatch/__snapshots__/LabelValueInput.test.js.snap b/ui/src/Components/SilenceModal/SilenceMatch/__snapshots__/LabelValueInput.test.js.snap index cc305c27e..75e9e1f7b 100644 --- a/ui/src/Components/SilenceModal/SilenceMatch/__snapshots__/LabelValueInput.test.js.snap +++ b/ui/src/Components/SilenceModal/SilenceMatch/__snapshots__/LabelValueInput.test.js.snap @@ -22,7 +22,7 @@ exports[` matches snapshot 1`] = ` Label value
-
+
diff --git a/ui/src/Components/Theme/ReactSelect.js b/ui/src/Components/Theme/ReactSelect.js index 84075e406..4abb52792 100644 --- a/ui/src/Components/Theme/ReactSelect.js +++ b/ui/src/Components/Theme/ReactSelect.js @@ -107,6 +107,10 @@ const ReactSelectStyles = (theme) => ({ opacity: "0.75", }, }), + input: (base, state) => ({ + ...base, + color: "inherit", + }), indicatorsContainer: (base, state) => ({ ...base, backgroundColor: state.isDisabled @@ -115,6 +119,13 @@ const ReactSelectStyles = (theme) => ({ borderTopRightRadius: "0.25rem", borderBottomRightRadius: "0.25rem", }), + dropdownIndicator: (base, state) => + state.isFocused + ? { + ...base, + "&:hover": { color: "inherit" }, + } + : { ...base }, menu: (base, state) => ({ ...base, zIndex: 1500,