WordPress.org

Making WordPress.org


Ignore:
Timestamp:
02/15/2019 01:12:00 AM (17 months ago)
Author:
coreymckrill
Message:

WordCamp Blocks: Code adjustments to the Speakers block

This includes a wide range of changes and enhancements based on
code review and feedback. See the following for more info:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/blocks/assets/src/speakers/block-content.scss

    r8063 r8253  
    66
    77.wordcamp-speakers-block {
    8     &,
    9     .editor-styles-wrapper & {
     8    /* The double-ampersand defeats an overzealous ul rule in Core's editor-blocks.css. */
     9    /* https://css-tricks.com/the-sass-ampersand/#article-header-id-11 */
     10    &#{&},
     11    .block-editor &#{&} {
    1012        list-style: none;
     13        margin: 0 0 1em 0;
     14    }
     15
     16    &.layout-list > li {
     17        margin-bottom: 1em;
     18        &:last-child {
     19            margin-bottom: 0;
     20        }
    1121    }
    1222
     
    4353
    4454.wordcamp-speaker-session-list {
    45     &,
    46     .editor-styles-wrapper & {
     55    /* See note above about the double-ampersand. */
     56    ul#{&},
     57    .block-editor ul#{&} {
    4758        list-style: none;
     59        margin: 0
    4860    }
    4961}
    5062
    51 .wordcamp-speaker-avatar {
    52     &.align-left,
    53     &.align-center,
    54     &.align-right {
    55         display: block;
    56     }
    57 
     63.wordcamp-speaker-avatar-container {
    5864    &.align-left {
    5965        float: left;
     
    6470        margin-left: auto;
    6571        margin-right: auto;
     72        text-align: center;
    6673    }
    6774
Note: See TracChangeset for help on using the changeset viewer.