Allow footnotes block
This commit is contained in:
parent
10369b9ce2
commit
dd8b4078eb
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -273,6 +273,7 @@ function fictioneer_allowed_block_types() {
|
||||
'core/html',
|
||||
'core/separator',
|
||||
'core/spacer',
|
||||
'core/footnotes',
|
||||
'core/more',
|
||||
'core/buttons',
|
||||
'core/button',
|
||||
|
@ -669,3 +669,15 @@ figure.wp-block-pullquote {
|
||||
max-width: unset;
|
||||
}
|
||||
}
|
||||
|
||||
// =============================================================================
|
||||
// FOOTNOTES
|
||||
// =============================================================================
|
||||
|
||||
.wp-block-footnotes {
|
||||
border-style: solid;
|
||||
|
||||
li:not(:last-child) {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
@ -223,7 +223,7 @@ p a,
|
||||
}
|
||||
|
||||
.content-section {
|
||||
:where(.list, .block-list, .litrpg-body :where(ul, ol)) {
|
||||
:where(.list, .block-list, .wp-block-footnotes, .litrpg-body :where(ul, ol)) {
|
||||
list-style: initial;
|
||||
padding-left: 1.75rem;
|
||||
margin: 1.5rem 0 0;
|
||||
@ -257,7 +257,7 @@ p a,
|
||||
list-style: square;
|
||||
}
|
||||
|
||||
:where(.list, ol.block-list, .litrpg-body ol) {
|
||||
:where(.list, ol.block-list, ol.wp-block-footnotes, .litrpg-body ol) {
|
||||
list-style: ordered-list;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user