Skip to content

Commit

Permalink
Add bottom padding all the time when floating
Browse files Browse the repository at this point in the history
This adds space between sidebar and footer when main content is short
  • Loading branch information
adamwoodnz committed Jan 31, 2024
1 parent 2aed927 commit 40f8977
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mu-plugins/blocks/sidebar-container/postcss/style.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
--local--block-end-sidebar--width: 356px;

width: var(--local--block-end-sidebar--width);
padding-bottom: var(--local--padding);
overflow-y: scroll;
overscroll-behavior: contain;
scrollbar-color: var(--wp--preset--color--charcoal-5) transparent;
Expand Down

0 comments on commit 40f8977

Please sign in to comment.