mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 05:59:45 +00:00
Заголовок в проекте программно-аппарат.. по центру
This commit is contained in:
1 parent
bd3cf94ade
commit
1a0d4072ea
2 files changed
+4
-1
No files matched your search
@@ -22,6 +22,9 @@ $swiper-button-arrow-size: 20px;
|
||||
.header {
|
||||
//text-align: center;
|
||||
margin-bottom: 2em;
|
||||
&.header--center {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.wp-block-columns {
|
||||
|
||||
@@ -32,7 +32,7 @@ export default function WpPost({
|
||||
customComponent
|
||||
) : (
|
||||
<>
|
||||
<PageHeader className="header">
|
||||
<PageHeader className={`header ${isSpecialTitle ? "header--center" : ""}`}>
|
||||
<h1>{title}</h1>
|
||||
</PageHeader>
|
||||
{Array.isArray(post.content) &&
|
||||
|
||||
Reference in new issue
Block a user