使WordPress成为核心

变更集57895


忽略:
时间戳:
2024年3月28日下午04:57:19(3个月(之前)
作者:
喀斯特化的
消息:

二十:修复编辑器中有序和无序列表的设计。

没有足够的填充物,并且间隔随着深度的增加而恶化。这反映了当前的趋势,并尊重背景颜色。虽然最初的报告仅针对一个列表,但这两种类型的列表都会受到影响。

Props aezazshekh、krupalpanchal、multipots1896、kajalgohel、sabernhardt。
修复#56083.

地点:
trunk/src/wp-content/themes/twentyinty20/assets/css
文件:
2编辑

图例:

未修改
补充
远离的
  • trunk/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css

    57587兰特 57895兰特  
    11221122/*阻止:列表-------------------------------*/
    11231123
    1124 .editor-styles-wrapper ul.block-editor-block-list__block,
    1125 .editor-styles-wrapper ol.block编辑器块列表块,
     1124.editor样式包装ul.block-editor-block-list__block:where(:not(.has背景)),
     1125.editor-styles-wrapper ol.block编辑器块列表块:where(:not(.has背景)),
    11261126.editor-styles-wrapper ul-ul、,
    11271127.editor-styles-wrapper ol ul编辑样式包装器{
     
    11311131.editor-styles包装器ul.block-editor-block-list__block.wp-block-social-links{
    11321132padding-right:0;
     1133}
     1134
     1135.wp-块列表li{
     1136边缘顶部:0.5雷姆;
     1137}
     1138
     1139.wp-block-list.has-background>.wp-block-list-item{
     1140边缘-右侧:2rem;
    11331141}
    11341142
  • trunk/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css

    57587兰特 57895兰特  
    11261126/*阻止:列表-------------------------------*/
    11271127
    1128 .editor-styles-wrapper ul.block-editor-block-list__block,
    1129 .editor-styles-wrapper ol.block编辑器块列表块,
     1128.editor-styles-wrapper ul.block-editor-block-list__block:where(:not(.has背景)),
     1129.editor-styles-wrapper ol.block编辑器块列表块:where(:not(.has背景)),
    11301130.editor-styles-wrapper ul-ul、,
    11311131.editor-styles-wrapper ol ul编辑样式包装器{
     
    11351135.editor-styles包装器ul.block-editor-block-list__block.wp-block-social-links{
    11361136padding-left:0;
     1137}
     1138
     1139.wp-块列表li{
     1140边缘顶部:0.5雷姆;
     1141}
     1142
     1143.wp-block-list.has-background>.wp-block-list-item{
     1144边缘左侧:2rem;
    11371145}
    11381146
注:请参见TracChangeset(跟踪变更集)以获取有关使用变更集查看器的帮助。