Skip to content

Commit 354b7b2

Browse files
authored
Merge pull request #477 from cdransf/divider-consistency
Fixes inconsistency in styles for divider on author and list layouts in dark mode
2 parents d19f8ee + 94f6dbe commit 354b7b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

layouts/AuthorLayout.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default function AuthorLayout({ children, frontMatter }) {
88
return (
99
<>
1010
<PageSEO title={`About - ${name}`} description={`About me - ${name}`} />
11-
<div className="divide-y">
11+
<div className="divide-y divide-gray-200 dark:divide-gray-700">
1212
<div className="space-y-2 pt-6 pb-8 md:space-y-5">
1313
<h1 className="text-3xl font-extrabold leading-9 tracking-tight text-gray-900 dark:text-gray-100 sm:text-4xl sm:leading-10 md:text-6xl md:leading-14">
1414
About

layouts/ListLayout.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default function ListLayout({ posts, title, initialDisplayPosts = [], pag
1818

1919
return (
2020
<>
21-
<div className="divide-y">
21+
<div className="divide-y divide-gray-200 dark:divide-gray-700">
2222
<div className="space-y-2 pt-6 pb-8 md:space-y-5">
2323
<h1 className="text-3xl font-extrabold leading-9 tracking-tight text-gray-900 dark:text-gray-100 sm:text-4xl sm:leading-10 md:text-6xl md:leading-14">
2424
{title}

0 commit comments

Comments
 (0)