From 49cc4180a7a125b9667c61ad9e92073e2abaad82 Mon Sep 17 00:00:00 2001 From: Gazook89 <58999374+Gazook89@users.noreply.github.com> Date: Tue, 20 Sep 2022 19:58:52 -0500 Subject: [PATCH 1/3] set only listPage to overflow-y scroll. The pages are not all quite set up the same way. /new/, /edit/, and /share/ all use an iframe and those iframes have their own scroll behavior. /user/ doesn't have an iframe and so the `.content` portion of the page needs to scroll. --- client/homebrew/homebrew.less | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/client/homebrew/homebrew.less b/client/homebrew/homebrew.less index 8c8f116b5..4df6ad7cc 100644 --- a/client/homebrew/homebrew.less +++ b/client/homebrew/homebrew.less @@ -11,7 +11,13 @@ position : relative; height : calc(~"100% - 29px"); //Navbar height flex : auto; + overflow-y : hidden; + } + &.listPage .content { overflow-y : scroll; } + // &.editPage .content, &.sharePage .content, &.newPage .content { + // overflow-y : hidden; + // } } } From f2a8a6a03a6aed5afe4536d97a8b7a6de3048deb Mon Sep 17 00:00:00 2001 From: Gazook89 <58999374+Gazook89@users.noreply.github.com> Date: Tue, 20 Sep 2022 19:59:38 -0500 Subject: [PATCH 2/3] match scroll bar style of recentItems to UI --- client/homebrew/navbar/navbar.less | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/homebrew/navbar/navbar.less b/client/homebrew/navbar/navbar.less index 39fbfaf5c..a29fff32a 100644 --- a/client/homebrew/navbar/navbar.less +++ b/client/homebrew/navbar/navbar.less @@ -78,6 +78,8 @@ width : 100%; overflow : hidden auto; max-height : ~"calc(100vh - 28px)"; + scrollbar-color : #666 #333; + scrollbar-width : thin; h4{ display : block; box-sizing : border-box; From 7623d3e93af34f4973b6ee66d2133125cd60dac5 Mon Sep 17 00:00:00 2001 From: Gazook89 <58999374+Gazook89@users.noreply.github.com> Date: Tue, 20 Sep 2022 20:37:55 -0500 Subject: [PATCH 3/3] set scrollbar to 'thin' in recentItems dropdown --- client/homebrew/homebrew.less | 5 +---- client/homebrew/pages/basePages/listPage/listPage.less | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/client/homebrew/homebrew.less b/client/homebrew/homebrew.less index 4df6ad7cc..f4834a25c 100644 --- a/client/homebrew/homebrew.less +++ b/client/homebrew/homebrew.less @@ -16,8 +16,5 @@ &.listPage .content { overflow-y : scroll; } - // &.editPage .content, &.sharePage .content, &.newPage .content { - // overflow-y : hidden; - // } } -} +} \ No newline at end of file diff --git a/client/homebrew/pages/basePages/listPage/listPage.less b/client/homebrew/pages/basePages/listPage/listPage.less index d4efbe445..21c2b6c7d 100644 --- a/client/homebrew/pages/basePages/listPage/listPage.less +++ b/client/homebrew/pages/basePages/listPage/listPage.less @@ -13,7 +13,6 @@ } .listPage{ .content{ - overflow-y : overlay; .phb{ .noColumns(); height : auto;