Skip to content

Commit

Permalink
Improve scrollbar appearance
Browse files Browse the repository at this point in the history
The Scrollbar will now appear to be completely inside the search results
panel.
  • Loading branch information
MaarifaMaarifa committed Oct 4, 2023
1 parent ba85fc2 commit 9873e67
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/gui/tabs/discover_tab/searching.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,12 @@ impl Search {
};

let search_results = search_results.map(|search_results| {
scrollable(
container(search_results)
.style(styles::container_styles::first_class_container_rounded_theme()),
container(
scrollable(search_results)
.direction(styles::scrollable_styles::vertical_direction()),
)
.direction(styles::scrollable_styles::vertical_direction())
.padding(5)
.style(styles::container_styles::first_class_container_rounded_theme())
.into()
});

Expand Down

0 comments on commit 9873e67

Please sign in to comment.