Skip to content

Commit

Permalink
Override sticky styles (#32140)
Browse files Browse the repository at this point in the history
  • Loading branch information
talldan committed May 25, 2021
1 parent 8453195 commit c1ffbb4
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 c1ffbb4

Please sign in to comment.