Skip to content

Commit

Permalink
Reader Recent Feed Overhaul: Set height for loading container (#97258)
Browse files Browse the repository at this point in the history
  • Loading branch information
holdercp authored Dec 9, 2024
1 parent 1cbd317 commit 784a718
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions client/reader/recent/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ body.is-reader-full-post {
$feed-list-header-height: 70px;
$feed-list-actions-height: 65px;
$feed-list-footer-height: 57px;
$feed-list-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 )
);

@extend %column-shared;
flex: 1;
Expand Down Expand Up @@ -72,7 +76,7 @@ body.is-reader-full-post {
}

.dataviews-loading {
margin-top: 200px;
height: $feed-list-height;
}

.components-spinner {
Expand All @@ -81,10 +85,7 @@ body.is-reader-full-post {
}

.dataviews-view-list {
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 )
);
height: $feed-list-height;
overflow-y: auto;
@include custom-scrollbars-on-hover( transparent, $gray-600 );
scrollbar-gutter: auto;
Expand Down

0 comments on commit 784a718

Please sign in to comment.