Skip to content

Commit

Permalink
Twenty Twenty: Fixes Customizer widget edit buttons being obstructed …
Browse files Browse the repository at this point in the history
…on smaller screens.

When the screen is smaller the edit buttons are obscured. This resolves that problem for the smaller screens and only targets the container for footer navigation and widgets.

Props sumitsingh, SergeyBiryukov, sabernhardt.
Fixes #49008.


git-svn-id: https://develop.svn.wordpress.org/trunk@58778 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
karmatosed committed Jul 22, 2024
1 parent 011709f commit 485fdca
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/wp-content/themes/twentytwenty/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -6416,3 +6416,12 @@ a.to-the-top > * {
top: 0;
}
}

@media ( max-width: 800px ) {

/* Customizer ---------------------------- */

.customize-partial-edit-shortcuts-shown .footer-nav-widgets-wrapper .footer-inner.section-inner {
width: calc(100% - 8rem);
}
}
9 changes: 9 additions & 0 deletions src/wp-content/themes/twentytwenty/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6532,3 +6532,12 @@ a.to-the-top > * {
top: 0;
}
}

@media ( max-width: 800px ) {

/* Customizer ---------------------------- */

.customize-partial-edit-shortcuts-shown .footer-nav-widgets-wrapper .footer-inner.section-inner {
width: calc(100% - 8rem);
}
}

0 comments on commit 485fdca

Please sign in to comment.