We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c34ac5d commit 5e924e9Copy full SHA for 5e924e9
src/emails/StorybookEmailRenderer.tsx
@@ -50,15 +50,17 @@ export const StorybookEmailRenderer = (props: Props) => {
50
}
51
52
.wrapper .styled {
53
- flex: 3 1 0;
+ flex: 2 0 auto;
54
+ width: 66%;
55
padding: 20px;
56
display: flex;
57
flex-direction: column;
58
align-items: center;
59
gap: 20px;
60
61
.wrapper .plaintext {
- flex: 1 1 0;
62
+ flex: 1 0 auto;
63
+ width: 33%;
64
font-family: monospace;
65
border-inline-start: 1px solid #eee;
66
@@ -68,6 +70,10 @@ export const StorybookEmailRenderer = (props: Props) => {
68
70
align-items: flex-start;
69
71
72
73
+
74
+ .plaintext pre {
75
+ white-space: pre-wrap;
76
+ }
77
`}</style>
78
<section className="styled">
79
<div className="badge">HTML</div>
0 commit comments