Skip to content

Commit 765a96b

Browse files
authored
Merge pull request #124 from League-of-Fabulous-Developers/dev
style: increase paragraph spacing in chat cards
2 parents 5d5ceaa + 1157ca6 commit 765a96b

File tree

2 files changed

+384
-1
lines changed

2 files changed

+384
-1
lines changed

styles/css/projectfu.css

Lines changed: 327 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

styles/scss/utils/_messages.scss

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,3 +442,60 @@
442442
}
443443
}
444444
}
445+
446+
.editor,
447+
.journal-entry-content,
448+
.editor-container,
449+
.chat-message {
450+
.editor-edit,
451+
.editor-content,
452+
.journal-entry-page,
453+
.message-content {
454+
font-weight: normal;
455+
456+
h1,
457+
h2,
458+
h3 {
459+
border-bottom: 2px solid $color-secondary;
460+
}
461+
462+
h1 {
463+
line-height: 1.2em;
464+
}
465+
466+
h2,
467+
h3,
468+
h4 {
469+
line-height: 1.45em;
470+
}
471+
472+
hr {
473+
margin: 10px 0;
474+
}
475+
476+
p {
477+
margin: 0;
478+
line-height: 1.45em;
479+
}
480+
481+
h1 + p,
482+
h2 + p,
483+
h3 + p,
484+
h4 + p,
485+
h5 + p,
486+
h6 + p,
487+
p + p {
488+
margin-top: 10px;
489+
}
490+
491+
blockquote {
492+
line-height: 1.45em;
493+
}
494+
495+
.editor-content {
496+
font-size: 16px;
497+
line-height: 1.45em;
498+
width: 100%;
499+
}
500+
}
501+
}

0 commit comments

Comments
 (0)