mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-01-11 02:22:55 -05:00
fix unnoticeable background color bug in dark mode
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
.content {
|
||||
font-size: 0.9em;
|
||||
line-height: 1.7;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
|
||||
@@ -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