From f07550423f5547984782b61b984351c2f713b008 Mon Sep 17 00:00:00 2001 From: Madeorsk Date: Mon, 23 Sep 2024 15:22:25 +0200 Subject: [PATCH] Add center class to headings. --- src/styles/components/_headings.less | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/styles/components/_headings.less b/src/styles/components/_headings.less index 76f7554..2a9fe4f 100644 --- a/src/styles/components/_headings.less +++ b/src/styles/components/_headings.less @@ -1,6 +1,9 @@ h1, h2, h3, h4, h5, h6 { margin: 0.8em auto; + + &.center, &.main + { text-align: center; } } h1