Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

chore: cleanup warnings from postcss (#64954)

Uladzimir Havenchyka94a70fe4676
diff --git a/frontend/src/metabase/common/components/EmojiPicker/EmojiPicker.module.css b/frontend/src/metabase/common/components/EmojiPicker/EmojiPicker.module.css
index 5eabd994d9a..ec33ac6bd83 100644
--- a/frontend/src/metabase/common/components/EmojiPicker/EmojiPicker.module.css
+++ b/frontend/src/metabase/common/components/EmojiPicker/EmojiPicker.module.css
@@ -36,11 +36,11 @@
}
/*
For some reason &:not(:focus-within) always matches, so to highlight first emoji
- when popup is not focues, we use a workaround.
+ when popup is not focused, we use a workaround.
*/
&:not(:has(.pickerSearch:focus)) {
[aria-rowindex="0"] [aria-colindex="0"] {
- background: light-dark(rgb(245 245 245 / 80%), rgb(38 38 38 / 80%));
+ background: rgb(245 245 245 / 80%);
&::before {
visibility: visible;
@@ -50,7 +50,7 @@
&:focus-within {
[data-active] {
- background: light-dark(rgb(245 245 245 / 80%), rgb(38 38 38 / 80%));
+ background: rgb(245 245 245 / 80%);
&::before {
visibility: visible;
@@ -59,6 +59,17 @@
}
}
+[data-mantine-color-scheme="dark"]
+ .root:not(:has(.pickerSearch:focus))
+ [aria-rowindex="0"]
+ [aria-colindex="0"] {
+ background: rgb(38 38 38 / 80%);
+}
+
+[data-mantine-color-scheme="dark"] .root:focus-within [data-active] {
+ background: rgb(38 38 38 / 80%);
+}
+
.pickerSearch {
visibility: visible;
height: 0;