Fixed minor email preview visual bugs

No ref
This commit is contained in:
Sanne de Vries 2023-01-23 10:46:30 +01:00
parent 2a01dd0481
commit 4b61f23bd0
4 changed files with 14 additions and 5 deletions

View File

@ -2109,7 +2109,7 @@ Dashboard Resource */
color: var(--black);
font-size: 1.45rem;
font-weight: 600;
line-height: 1.4em;
line-height: 1.5em;
}
.gh-dashboard-resource .gh-dashboard-list-body {

View File

@ -259,7 +259,7 @@
/* Mobile preview */
.gh-post-preview-iframe {
transform: scale(0.84);
transform: scale(0.8);
transform-origin: 0 0;
width: 361px;
height: 786px;
@ -284,6 +284,12 @@
overflow: auto;
}
@media (max-width: 1024px) {
.gh-post-preview-email-container {
height: calc(100vh - 64px);
}
}
.gh-post-preview-email-mockup {
display: flex;
flex-direction: column;
@ -302,7 +308,7 @@
0 41.8px 33.4px rgba(0, 0, 0, 0.05),
0 100px 80px rgba(0, 0, 0, 0.07);
;
border-radius: 3px;
border-radius: 3px 3px 0 0;
}
.gh-post-preview-email-container iframe {

View File

@ -138,13 +138,14 @@
line-height: 1.8em;
}
p.gh-preview-newsletter-name {
.gh-email-preview-newsletter-select p.gh-preview-newsletter-name {
color: var(--darkgrey);
font-weight: 600;
}
p .gh-preview-email-address {
color: var(--midlightgrey);
font-weight: 500;
}
.gh-preview-email-subject {

View File

@ -266,11 +266,13 @@ pre {
color: #ffffff;
}
p code {
p code,
li code {
background: #F2F7FA;
word-break: break-all;
padding: 1px 7px;
border-radius: 3px;
color: {{accentColor}};
}
figure blockquote p {