- Timestamp:
- 05/20/2024 03:12:41 PM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentynineteen/style-editor.scss
r57712 r58178 427 427 font-weight: bold; 428 428 border-radius: 5px; 429 429 430 430 &:not(.has-text-color) { 431 431 color: #fff; … … 842 842 text-align: left; 843 843 text-align: center; 844 -webkit-margin-start: 0 px;845 margin-inline-start: 0 px;844 -webkit-margin-start: 0; 845 margin-inline-start: 0; 846 846 } 847 847 } … … 866 866 867 867 // This matches the 22px value for 1rem that used on the front end. 868 // It must be specified in pixels for the editor, since the root font 869 // size is different here. 868 // It must be specified in pixels for the editor, since the root font 869 // size is different here. 870 870 $group-block-background__padding: $font__size_base; 871 871 … … 917 917 // Group block with background color 918 918 &.has-background { 919 919 920 920 // Child blocks: Default alignments 921 921 > .wp-block-group__inner-container > .wp-block:not([data-align="wide"]):not([data-align="full"]):not(.alignwide):not(.alignfull) { … … 934 934 .wp-block[data-align="full"] > .wp-block-group { 935 935 936 // Margins & padding are added to this container to mimic 937 // the style + spacing of the .editor-writing-flow global 938 // container. This way, child items sync up with the placement 939 // and size of other top-level blocks. 936 // Margins & padding are added to this container to mimic 937 // the style + spacing of the .editor-writing-flow global 938 // container. This way, child items sync up with the placement 939 // and size of other top-level blocks. 940 940 > .wp-block-group__inner-container { 941 941 942 942 // 2px of extra padding are added to each side here 943 // To better match up with the spacing of the whole 944 // document. 943 // To better match up with the spacing of the whole 944 // document. 945 945 @include media(tablet) { 946 946 width: 80%; 947 947 margin-left: 10%; 948 margin-right: 10%; 948 margin-right: 10%; 949 949 padding-left: 10px; 950 950 padding-right: 10px;
Note: See TracChangeset
for help on using the changeset viewer.