Skip to content

Commit

Permalink
chore: fix broken scrolling (#1085)
Browse files Browse the repository at this point in the history
* chore: fix broken scrolling

* chore: add changeset
  • Loading branch information
alessbell committed Sep 11, 2023
1 parent bc3fbb0 commit 61540a8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/rude-students-destroy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"apollo-client-devtools": patch
---

Fix scrolling bug introduced when making sidebar expandable.
2 changes: 2 additions & 0 deletions src/application/components/Layouts/SidebarLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ const Sidebar = ({ navigationProps, children }: SidebarProps) => {
defaultSize={25}
minSize={10}
style={{
overflow: "scroll",
height: "100vh",
backgroundColor: "var(--primary)",
}}
Expand Down Expand Up @@ -91,6 +92,7 @@ const Content = ({ children }: ContentProps) => (
minSize={30}
data-testid="content"
style={{
overflow: "scroll",
height: "100vh",
width: "100%",
backgroundColor: "var(--main)",
Expand Down
3 changes: 3 additions & 0 deletions src/extension/devtools/panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
body {
overflow: hidden;
}
::-webkit-scrollbar {
display: none;
}
#devtools {
width: 100vw;
height: 100vh;
Expand Down

0 comments on commit 61540a8

Please sign in to comment.