Varia: Change list style position and identation
This commit is contained in:
parent
c6c231d5c7
commit
18a49afb14
6 changed files with 27 additions and 13 deletions
|
@ -14,6 +14,7 @@
|
|||
@import "gallery/editor";
|
||||
@import "group/editor";
|
||||
@import "latest-posts/editor";
|
||||
@import "list/editor";
|
||||
@import "media-text/editor";
|
||||
@import "posts-list/editor";
|
||||
@import "paragraph/editor";
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
.block-library-list {
|
||||
ul,
|
||||
ol {
|
||||
margin: #{map-deep-get($config-global, "spacing", "vertical")} 0;
|
||||
padding-left: calc(2 * #{map-deep-get($config-global, "spacing", "unit")});
|
||||
}
|
||||
}
|
|
@ -1,9 +1,8 @@
|
|||
ul,
|
||||
ol {
|
||||
font-family: #{map-deep-get($config-list, "font", "family")};
|
||||
list-style-position: inside;
|
||||
margin: 0 0 0 #{map-deep-get($config-global, "spacing", "unit")};
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
padding-left: calc(2 * #{map-deep-get($config-global, "spacing", "horizontal")});
|
||||
}
|
||||
|
||||
ul {
|
||||
|
@ -25,5 +24,6 @@ dt {
|
|||
}
|
||||
|
||||
dd {
|
||||
margin: 0 0 0 #{map-deep-get($config-global, "spacing", "unit")};
|
||||
}
|
||||
margin: 0;
|
||||
padding-left: #{map-deep-get($config-global, "spacing", "horizontal")};
|
||||
}
|
||||
|
|
|
@ -458,6 +458,12 @@ object {
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
.block-library-list ul,
|
||||
.block-library-list ol {
|
||||
margin: 32px 0;
|
||||
padding-left: calc(2 * 16px);
|
||||
}
|
||||
|
||||
.wp-block-media-text .block-editor-inner-blocks {
|
||||
padding-right: 16px;
|
||||
padding-left: 16px;
|
||||
|
|
|
@ -1588,9 +1588,8 @@ img {
|
|||
ul,
|
||||
ol {
|
||||
font-family: serif;
|
||||
list-style-position: inside;
|
||||
margin: 0 16px 0 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
padding-right: calc(2 * 16px);
|
||||
}
|
||||
|
||||
ul {
|
||||
|
@ -1607,7 +1606,8 @@ dt {
|
|||
}
|
||||
|
||||
dd {
|
||||
margin: 0 16px 0 0;
|
||||
margin: 0;
|
||||
padding-right: 16px;
|
||||
}
|
||||
|
||||
.wp-block-media-text {
|
||||
|
|
|
@ -1588,9 +1588,8 @@ img {
|
|||
ul,
|
||||
ol {
|
||||
font-family: serif;
|
||||
list-style-position: inside;
|
||||
margin: 0 0 0 16px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
padding-left: calc(2 * 16px);
|
||||
}
|
||||
|
||||
ul {
|
||||
|
@ -1607,7 +1606,8 @@ dt {
|
|||
}
|
||||
|
||||
dd {
|
||||
margin: 0 0 0 16px;
|
||||
margin: 0;
|
||||
padding-left: 16px;
|
||||
}
|
||||
|
||||
.wp-block-media-text {
|
||||
|
|
Loading…
Reference in a new issue