Skip to content

Commit

Permalink
Override sticky styles
Browse files Browse the repository at this point in the history
  • Loading branch information
talldan committed May 24, 2021
1 parent fc6562f commit 380e13e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/customize-widgets/src/controls/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,17 @@
// Make the entire sidebar background white.
min-height: 100%;
background-color: $white;

// 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;

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

0 comments on commit 380e13e

Please sign in to comment.