Skip to content

Commit

Permalink
Fix scroll jitter in Customize Widgets (#32479)
Browse files Browse the repository at this point in the history
  • Loading branch information
stokesman authored Jun 24, 2021
1 parent c66ef19 commit 1c08aca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/customize-widgets/src/controls/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
// Override the inline styles added via JS that make the section title
// sticky feature work. The customize widget block-editor disables this
// sticky title.
padding-top: 10px !important;
padding-top: 12px !important;

.customize-section-title {
// Disable the sticky title. `!important` as this overrides inline
// styles added via JavaScript.
position: static !important;
top: 0 !important;
margin-top: -12px !important;
width: unset !important;
}
}

0 comments on commit 1c08aca

Please sign in to comment.