mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-21 01:01:17 -04:00
fix unnoticeable background color bug in dark mode
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
import classNames from "classnames";
|
||||
import type { PropsWithChildren } from "react";
|
||||
import type { HTMLAttributes } from "react";
|
||||
|
||||
import styles from "./Content.module.css";
|
||||
|
||||
type Props = PropsWithChildren<{
|
||||
className?: string;
|
||||
}>;
|
||||
type Props = HTMLAttributes<HTMLDivElement>;
|
||||
|
||||
const Content = ({ className, ...rest }: Props) => <div className={classNames(styles.content, className)} {...rest} />;
|
||||
|
||||
|
Reference in New Issue
Block a user