-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add stories for header and footer components #5525
Conversation
@@ -55,7 +55,7 @@ export const StorybookEmailRenderer = (props: Props) => { | |||
padding: 20px; | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
align-items: stretch; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The emails apparently only looked wide because the content made the container grow, but with just the footer/header, they were very cramped 😅
@@ -89,7 +89,7 @@ export const StorybookEmailRenderer = (props: Props) => { | |||
` | |||
: renderResult.html, | |||
}} | |||
className={props.emulateDarkMode ? "dark-mode-enforced" : ""} | |||
className={`body ${props.emulateDarkMode ? "dark-mode-enforced" : ""}`} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't end up needing this class. Could remove it too, I guess 🤷
Preview URL 🚀 : https://blurts-server-pr-5525-mgjlpikfea-uk.a.run.app |
Cleanup completed - database 'blurts-server-pr-5525' destroyed, cloud run service 'blurts-server-pr-5525' destroyed |
Laura and Wolasi asked for these. (I also moved the header and footer components into the
components/
folder, since they're... You know, components.