Skip to content

Commit

Permalink
πŸ‘Œ IMPROVE: dataviews list scrollbar design
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmoodak committed Dec 3, 2024
1 parent 70bcab8 commit fdc0f2a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions client/reader/recent/style.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import "@wordpress/base-styles/variables";
@import "@wordpress/base-styles/breakpoints";
@import "@wordpress/base-styles/mixins";
@import "@wordpress/dataviews/build-style/style.css";
Expand Down Expand Up @@ -66,7 +67,9 @@ body.is-reader-full-post {
.dataviews-view-list {
height: fit-content;
max-height: calc( 100vh - var( --masterbar-height ) - var( --content-padding-top ) - $feed-list-header-height - $feed-list-actions-height - $feed-list-footer-height - var( --content-padding-bottom ) );
overflow: auto;
overflow: auto;
scrollbar-gutter: stable;
@include custom-scrollbars-on-hover( transparent, $gray-600 );
}

.dataviews__view-actions {
Expand Down Expand Up @@ -194,8 +197,8 @@ body.is-reader-full-post {
@extend %column-shared;
display: none;
max-height: calc( 100vh - var( --masterbar-height ) - var( --content-padding-top ) - var( --content-padding-bottom ) );
height: fit-content;
overflow-y: auto;
height: fit-content;
overflow-y: auto;

&.overlay {
display: block;
Expand Down

0 comments on commit fdc0f2a

Please sign in to comment.