Add align to img, p, and div & allow h1 to be centered (#2231)

* Add align to img, p, and div

Signed-off-by: Jakob <minenash@protonmail.com>

* fixed issue from porting pr

Signed-off-by: Jakob <minenash@protonmail.com>

* attempt to fix overflow of aligned imgs

Signed-off-by: Jakob <minenash@protonmail.com>

* Allow h1 to be centered

Signed-off-by: Jakob <minenash@protonmail.com>

* Excluded markdown-body from universal-card styling in components

* Fixed it in editor?

* undid previous attempt, did something simpler

---------

Signed-off-by: Jakob <minenash@protonmail.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
This commit is contained in:
Jakob
2024-08-22 21:18:22 -04:00
committed by GitHub
parent e0990910f6
commit fafd47fd90
3 changed files with 12 additions and 1 deletions

View File

@@ -284,6 +284,10 @@
align-items: center;
}
.markdown-body h1 {
display: block;
}
> :first-child {
:first-child {
margin-block-start: 0;