FEATURE Ajout de la prise en charge des alignements 'wide' et 'full' pour les blocs de contenu et de titrage, et ajout d'une variante 'nude' pour le style de la boîte de contenu.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ca7d3ec89b
commit
bd82e5f92b
|
|
@ -2,6 +2,11 @@
|
|||
padding-left: 2.5rem !important;
|
||||
padding-right: 2.5rem !important;
|
||||
|
||||
&--variant-nude {
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--content-box-text-color) !important;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,11 @@
|
|||
"description": "Carte de contenu pour la mise en forme d'éléments de contenu",
|
||||
"example": {},
|
||||
"supports": {
|
||||
"html": false
|
||||
"html": false,
|
||||
"align": [
|
||||
"wide",
|
||||
"full"
|
||||
]
|
||||
},
|
||||
"textdomain": "carhop-blocks",
|
||||
"editorScript": "file:./index.js",
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
content: none !important;
|
||||
}
|
||||
margin: 0 auto;
|
||||
max-width: 1200px;
|
||||
max-width: 1280px;
|
||||
width: 100%;
|
||||
height: 500px;
|
||||
background-color: var(--wp--preset--color--primary);
|
||||
|
|
|
|||
|
|
@ -9,7 +9,11 @@
|
|||
"description": "Boite de titrage pour la mise en forme d'éléments de contenu",
|
||||
"example": {},
|
||||
"supports": {
|
||||
"html": false
|
||||
"html": false,
|
||||
"align": [
|
||||
"wide",
|
||||
"full"
|
||||
]
|
||||
},
|
||||
"textdomain": "carhop-blocks",
|
||||
"editorScript": "file:./index.js",
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
content: none !important;
|
||||
}
|
||||
margin: 0 auto;
|
||||
max-width: 1200px;
|
||||
max-width: 1280px;
|
||||
width: 100%;
|
||||
height: 500px;
|
||||
background-color: var(--wp--preset--color--primary);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user