diff --git a/devplacepy/static/css/deepsearch.css b/devplacepy/static/css/deepsearch.css index 348de7c..e3807b4 100644 --- a/devplacepy/static/css/deepsearch.css +++ b/devplacepy/static/css/deepsearch.css @@ -545,6 +545,9 @@ dp-deepsearch-chat { .ds-chat-log { flex: 1; overflow-y: auto; + overscroll-behavior: contain; + scrollbar-width: none; + -ms-overflow-style: none; padding: var(--space-md); display: flex; flex-direction: column; @@ -552,6 +555,11 @@ dp-deepsearch-chat { min-height: 240px; } +.ds-chat-log::-webkit-scrollbar { + width: 0; + height: 0; +} + .ds-chat-msg { display: flex; } diff --git a/devplacepy/static/css/feed.css b/devplacepy/static/css/feed.css index f9b3b6e..e554bb7 100644 --- a/devplacepy/static/css/feed.css +++ b/devplacepy/static/css/feed.css @@ -221,11 +221,27 @@ .feed-right { position: sticky; top: calc(var(--nav-height) + 1rem); + max-height: calc(100vh - var(--nav-height) - 2rem); + overflow-y: auto; + overscroll-behavior: contain; + scrollbar-width: none; + -ms-overflow-style: none; display: flex; flex-direction: column; gap: 1rem; } +.feed-right::-webkit-scrollbar { + width: 0; + height: 0; +} + +.feed-right .sidebar-card { + position: static; + max-height: none; + overflow: visible; +} + .daily-topic-card { background: var(--bg-card); border: 1px solid var(--border); @@ -493,6 +509,16 @@ .leaderboard-page > aside { position: sticky; top: calc(var(--nav-height) + 1rem); + max-height: calc(100vh - var(--nav-height) - 2rem); + overflow-y: auto; + overscroll-behavior: contain; + scrollbar-width: none; + -ms-overflow-style: none; +} + +.leaderboard-page > aside::-webkit-scrollbar { + width: 0; + height: 0; } .leaderboard-main { diff --git a/devplacepy/static/css/landing.css b/devplacepy/static/css/landing.css index 88178aa..05a671e 100644 --- a/devplacepy/static/css/landing.css +++ b/devplacepy/static/css/landing.css @@ -272,6 +272,16 @@ gap: 1rem; position: sticky; top: 5rem; + max-height: calc(100vh - 5rem - 1rem); + overflow-y: auto; + overscroll-behavior: contain; + scrollbar-width: none; + -ms-overflow-style: none; +} + +.dashboard-sidebar::-webkit-scrollbar { + width: 0; + height: 0; } .dashboard-sidebar-card { diff --git a/devplacepy/static/css/post.css b/devplacepy/static/css/post.css index 1fb89fa..723a262 100644 --- a/devplacepy/static/css/post.css +++ b/devplacepy/static/css/post.css @@ -13,10 +13,22 @@ gap: 1rem; position: sticky; top: calc(var(--nav-height) + 1rem); + max-height: calc(100vh - var(--nav-height) - 2rem); + overflow-y: auto; + overscroll-behavior: contain; + scrollbar-width: none; + -ms-overflow-style: none; +} + +.post-page-sidebar::-webkit-scrollbar { + width: 0; + height: 0; } .post-page-sidebar .sidebar-card { position: static; + max-height: none; + overflow: visible; } .post-page { diff --git a/devplacepy/static/css/profile.css b/devplacepy/static/css/profile.css index 13c947a..9071a72 100644 --- a/devplacepy/static/css/profile.css +++ b/devplacepy/static/css/profile.css @@ -10,9 +10,19 @@ .profile-sidebar { position: sticky; top: calc(var(--nav-height) + 1rem); + max-height: calc(100vh - var(--nav-height) - 2rem); + overflow-y: auto; + overscroll-behavior: contain; + scrollbar-width: none; + -ms-overflow-style: none; min-width: 0; } +.profile-sidebar::-webkit-scrollbar { + width: 0; + height: 0; +} + .profile-card { background: var(--bg-card); border: 1px solid var(--border); diff --git a/devplacepy/static/css/project_files.css b/devplacepy/static/css/project_files.css index fc25df9..710157d 100644 --- a/devplacepy/static/css/project_files.css +++ b/devplacepy/static/css/project_files.css @@ -53,11 +53,19 @@ width: 280px; flex-shrink: 0; overflow: auto; + overscroll-behavior: contain; + scrollbar-width: none; + -ms-overflow-style: none; padding: 0.5rem; border-right: 1px solid var(--border); background: var(--bg-card-hover); } +.pf-tree::-webkit-scrollbar { + width: 0; + height: 0; +} + .pf-tree-empty { padding: 1rem; font-size: 0.8125rem; diff --git a/devplacepy/static/css/sidebar.css b/devplacepy/static/css/sidebar.css index fd90320..6a7f526 100644 --- a/devplacepy/static/css/sidebar.css +++ b/devplacepy/static/css/sidebar.css @@ -3,6 +3,11 @@ .sidebar-card { position: sticky; top: calc(var(--nav-height) + 1rem); + max-height: calc(100vh - var(--nav-height) - 2rem); + overflow-y: auto; + overscroll-behavior: contain; + scrollbar-width: none; + -ms-overflow-style: none; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); @@ -10,6 +15,11 @@ padding: 1rem; } +.sidebar-card::-webkit-scrollbar { + width: 0; + height: 0; +} + .sidebar-card .sidebar-heading { font-size: 0.75rem; font-weight: 700; diff --git a/pyproject.toml b/pyproject.toml index 89d3d8d..f011dd7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "devplacepy" -version = "1.0.10" +version = "1.0.11" description = "DevPlace - The Developer Social Network" requires-python = ">=3.12" dependencies = [