mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 15:28:28 -04:00
fix comments top border
This commit is contained in:
parent
7142b5ece5
commit
0a741b4282
@ -7,12 +7,10 @@ import type { ComponentProps } from "react";
|
||||
import type { GiscusProps } from "@giscus/react";
|
||||
|
||||
const Wrapper = styled("div", {
|
||||
".giscus": {
|
||||
marginTop: "2em",
|
||||
paddingTop: "2em",
|
||||
borderTop: "2px solid $light",
|
||||
minHeight: "350px",
|
||||
},
|
||||
minHeight: "300px",
|
||||
});
|
||||
|
||||
export type CommentsProps = ComponentProps<typeof Wrapper> & {
|
||||
@ -22,6 +20,7 @@ export type CommentsProps = ComponentProps<typeof Wrapper> & {
|
||||
const Comments = ({ title, ...rest }: CommentsProps) => {
|
||||
const { resolvedTheme } = useTheme();
|
||||
|
||||
// TODO: use custom `<Loading />` spinner component during suspense
|
||||
return (
|
||||
<Wrapper {...rest}>
|
||||
<Giscus
|
||||
|
Loading…
x
Reference in New Issue
Block a user