fix(widgets): remove redundant calendar day CSS module
The border highlight was redundant — HoverCard's arrow already indicates which day is active. Removes the CSS file and className import entirely.
This commit is contained in:
1 parent
1856d20a47
commit
2e20fd7da5
2 files changed
-9
No files matched your search
@@ -1,7 +0,0 @@
|
|||||||
.day {
|
|
||||||
border: 2px solid transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.day[aria-expanded="true"] {
|
|
||||||
border-color: var(--mantine-primary-color-filled);
|
|
||||||
}
|
|
||||||
@@ -5,7 +5,6 @@ import { useRequiredBoard } from "@homarr/boards/context";
|
|||||||
import type { CalendarEvent } from "@homarr/integrations/types";
|
import type { CalendarEvent } from "@homarr/integrations/types";
|
||||||
|
|
||||||
import { CalendarEventList } from "./calendar-event-list";
|
import { CalendarEventList } from "./calendar-event-list";
|
||||||
import classes from "./calender-day.module.css";
|
|
||||||
|
|
||||||
interface CalendarDayProps {
|
interface CalendarDayProps {
|
||||||
date: Date;
|
date: Date;
|
||||||
@@ -46,7 +45,6 @@ export const CalendarDay = ({ date, events, disabled, rootHeight, rootWidth }: C
|
|||||||
pb={isSmall ? 0 : 10}
|
pb={isSmall ? 0 : 10}
|
||||||
m={0}
|
m={0}
|
||||||
ref={ref}
|
ref={ref}
|
||||||
className={classes.day}
|
|
||||||
style={{
|
style={{
|
||||||
alignContent: "center",
|
alignContent: "center",
|
||||||
borderRadius: actualItemRadius,
|
borderRadius: actualItemRadius,
|
||||||
|
|||||||
Reference in new issue
Block a user