Skip to content

Commit 034ff21

Browse files
committed
Small fixes
1 parent 7dedd5f commit 034ff21

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

packages/mantine/src/mantineStyles.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
@import url("@mantine/core/styles/Typography.css");
8686

8787
/* Mantine baseline styles, scoped to .bn-mantine element. */
88-
/* https://github.com/mantinedev/mantine/blob/7.17.8/packages/%40mantine/core/src/core/MantineProvider/baseline.css */
88+
/* https://github.com/mantinedev/mantine/blob/8.3.1/packages/%40mantine/core/src/core/MantineProvider/baseline.css */
8989
.bn-mantine {
9090
color-scheme: var(--mantine-color-scheme);
9191
}
@@ -96,6 +96,7 @@
9696
box-sizing: border-box;
9797
}
9898

99+
/* Fonts are already set in `style.css`, so not needed here. */
99100
/* .bn-mantine input,
100101
.bn-mantine button,
101102
.bn-mantine textarea,
@@ -109,6 +110,10 @@
109110
}
110111

111112
.bn-mantine {
113+
/* Defaults for font, text color, etc are already set in `style.css` so they
114+
aren't needed here. The `.bn-mantine` element also has a margin that we don't
115+
want to remove, so that too is commented out (would normally just remove the
116+
margin on `body`). */
112117
/* margin: 0;
113118
font-family: var(--mantine-font-family);
114119
font-size: var(--mantine-font-size-md);

packages/mantine/src/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,10 @@
145145

146146
/* Select styling */
147147
.bn-mantine .bn-select {
148+
background-color: var(--bn-colors-menu-background);
149+
border: var(--bn-border);
150+
border-radius: var(--bn-border-radius-medium);
151+
box-shadow: var(--bn-shadow-medium);
148152
overflow: auto;
149153
}
150154

0 commit comments

Comments
 (0)