Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #54169, comment 3


Ignore:
Timestamp:
02/07/2022 08:53:00 PM (2 years ago)
Author:
sclayf1
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54169, comment 3

    initial v1  
    1 I believe this problem is due to a faulty `.block-editor-writing-flow` style declaration in twentynineteen's style-editor.css.
     1I believe this problem is due to a faulty `.block-editor-writing-flow` style declaration in twentynineteen's `style-editor.scss`.
    22
    3 When injected into the page with JS, the selector becomes `.editor-styles-wrapper .block-editor-writing-flow`, but this fails because those two classes are ''on the same DIV''. This bug still exists in 5.8.3.
     3
     4{{{
     5        @include media(tablet) {
     6
     7                .block-editor-writing-flow {
     8                        max-width: 80%;
     9                        margin: 0 10%;
     10                }
     11}}}
     12
     13After SASS processing and injection into the page with JS, the selector becomes `.editor-styles-wrapper .block-editor-writing-flow`, but this fails to apply because those two classes are now ''on the same DIV''. This bug still exists in 5.8.3.