Make WordPress Core

Ticket #59957: 59957.patch

File 59957.patch, 1.6 KB (added by nidhidhandhukiya, 13 months ago)

This issue is happening with Twenty twenty and twenty twenty one also I have applied the patch which can resolve the issue for both the themes.

  • wp-content/themes/twentytwenty/assets/css/editor-style-block.css

     
    15381538
    15391539
    15401540}
     1541.wp-block[data-align=full] details p,
     1542.wp-block[data-align=wide] details p{
     1543        margin-left: 0;
     1544        margin-right: 0;
     1545}
     1546 No newline at end of file
  • wp-content/themes/twentytwentyone/assets/css/style-editor.css

     
    25992599.has-red-to-purple-gradient-background {
    26002600        background: linear-gradient(160deg, var(--global--color-red), var(--global--color-purple));
    26012601}
     2602
     2603.wp-block[data-align=full] details p,
     2604.wp-block[data-align=wide] details p{
     2605        margin-left: 0;
     2606        margin-right: 0;
     2607}
     2608 No newline at end of file
  • wp-content/themes/twentytwentyone/assets/sass/06-components/editor.scss

     
    4242a {
    4343        cursor: pointer;
    4444}
     45
     46.wp-block[data-align=full],
     47.wp-block[data-align=wide]{
     48        details{
     49                p{
     50                        margin-left: 0;
     51                        margin-right: 0;
     52                }
     53        }
     54
     55}
     56 No newline at end of file