[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyone/assets/sass/05-blocks/image/ -> _editor.scss (source)

   1  /* Center image block by default in the editor */
   2  
   3  .wp-block-image,
   4  .wp-block-image > div:not(.components-placeholder) {
   5      text-align: center;
   6  }
   7  
   8  [data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized {
   9      margin: 0 auto;
  10  }
  11  
  12  /* Block Styles */
  13  
  14  .wp-block-image.is-style-twentytwentyone-border img,
  15  .wp-block-image.is-style-twentytwentyone-image-frame img {
  16      border: calc(3 * var(--separator--height)) solid var(--global--color-border);
  17  }
  18  
  19  .wp-block-image.is-style-twentytwentyone-image-frame img {
  20      padding: var(--global--spacing-unit);
  21  }


Generated : Sun Dec 22 08:20:01 2024 Cross-referenced by PHPXref