Skip to content

Commit

Permalink
fix newsletter style
Browse files Browse the repository at this point in the history
  • Loading branch information
lucavallin committed Oct 10, 2023
1 parent a3f5cfa commit 03af925
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/NewsletterSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const NewsletterSection = () => {
</p>

<Script src="https://substackapi.com/widget.js" strategy="lazyOnload" />
<div id="substack-embed" className="relative mt-4 flex rounded-md"></div>
<div id="substack-embed" className="relative mt-4 flex flex-col rounded-md"></div>
</div>
);
};
6 changes: 6 additions & 0 deletions styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
@tailwind components;
@tailwind utilities;

.custom-substack-widget+.success, .custom-substack-widget+.error {
font-family: var(--font-inter), sans-serif !important;
color: #cb3364 !important;
font-size: 0.875rem;
}

::-webkit-scrollbar {
width: 10px;
}
Expand Down

0 comments on commit 03af925

Please sign in to comment.