Skip to content

Commit

Permalink
DevTools: Fix Settings dialog scroll/size bug in Firefox (#21747)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn committed Jun 24, 2021
1 parent 7fec380 commit 386e8f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Expand Up @@ -22,7 +22,7 @@
box-shadow: 0 2px 4px var(--color-shadow);
border-radius: 0.25rem;
overflow: auto;
width: 400px;
width: 410px;
max-width: 100%;
}

Expand Down
6 changes: 6 additions & 0 deletions packages/react-devtools-shared/src/devtools/views/TabBar.css
Expand Up @@ -10,6 +10,9 @@
user-select: none;
color: var(--color-text);

/* Hide radio buttons for Firefox too */
position: relative;

/* Electron drag area */
-webkit-app-region: no-drag;
}
Expand Down Expand Up @@ -48,6 +51,9 @@
width: 0;
margin: 0;
opacity: 0;

/* Hide radio buttons for Firefox too */
position: absolute;
}

.IconSizeNavigation,
Expand Down

0 comments on commit 386e8f2

Please sign in to comment.