Skip to content

Commit

Permalink
Fix scroll jitter in Customize Widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
stokesman committed Jun 23, 2021
1 parent e0ca21a commit 2adc1cd
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 2adc1cd

Please sign in to comment.