Skip to content

Commit e18dc4e

Browse files
committed
fixes
Signed-off-by: amanycodes <amanycodes@gmail.com>
1 parent 0b545ef commit e18dc4e

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed
Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
.item {
2-
background-color: light-dark(var(--mantine-color-gray-1), var(--mantine-color-dark-5));
3-
}
4-
5-
.item[data-active] {
6-
background-color: light-dark(var(--mantine-color-body-light), var(--mantine-color-body-dark));
7-
}
8-
2+
background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-5));
3+
}

web/ui/mantine-ui/src/pages/AlertsPage.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -283,15 +283,6 @@ export default function AlertsPage() {
283283
return (
284284
<Accordion.Item
285285
mt={rem(5)}
286-
styles={{
287-
item: {
288-
// TODO: This transparency hack is an OK workaround to make the collapsed items
289-
// have a different background color than their surrounding group card in dark mode,
290-
// but it would be better to use CSS to override the light/dark colors for
291-
// collapsed/expanded accordion items.
292-
backgroundColor: "#c0c0c015",
293-
},
294-
}}
295286
key={j}
296287
value={j.toString()}
297288
className={

0 commit comments

Comments
 (0)