make heading alignment editable

This commit is contained in:
Yisroel Baum 2026-05-27 21:59:07 +03:00
parent df410e1706
commit b0ffcdf27b
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
2 changed files with 2 additions and 11 deletions

View file

@ -96,7 +96,8 @@ class ElementSeeder extends Seeder
private function introductionRichText(): string private function introductionRichText(): string
{ {
return '<h2>What is Baderech HaAvoda?</h2>' return '<h2 style="text-align: center;">'
. 'What is Baderech HaAvoda?</h2>'
. '<h3>Why We Need a Path of Spiritual Practice</h3>' . '<h3>Why We Need a Path of Spiritual Practice</h3>'
. "<p>A 'Baderech HaAvoda' is a way of living - a structured " . "<p>A 'Baderech HaAvoda' is a way of living - a structured "
. 'path for inner and outer growth, spiritual refinement, and ' . 'path for inner and outer growth, spiritual refinement, and '

View file

@ -330,16 +330,6 @@ function isShortYoutubeHost(hostname: string): boolean {
line-height: 1.75; line-height: 1.75;
} }
.element-page__rich-text :deep(h2) {
margin: 0 0 0.9rem;
color: #2c2c2c;
font-family: var(--font-serif);
font-size: 2rem;
font-weight: 400;
line-height: 1.2;
text-align: center;
}
.element-page__rich-text :deep(p) { .element-page__rich-text :deep(p) {
margin: 0 0 1rem; margin: 0 0 1rem;
} }