Skip to content

Commit 386e8f2

Browse files
author
Brian Vaughn
authored
DevTools: Fix Settings dialog scroll/size bug in Firefox (#21747)
1 parent 7fec380 commit 386e8f2

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

packages/react-devtools-shared/src/devtools/views/Settings/SettingsModal.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
box-shadow: 0 2px 4px var(--color-shadow);
2323
border-radius: 0.25rem;
2424
overflow: auto;
25-
width: 400px;
25+
width: 410px;
2626
max-width: 100%;
2727
}
2828

packages/react-devtools-shared/src/devtools/views/TabBar.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
user-select: none;
1111
color: var(--color-text);
1212

13+
/* Hide radio buttons for Firefox too */
14+
position: relative;
15+
1316
/* Electron drag area */
1417
-webkit-app-region: no-drag;
1518
}
@@ -48,6 +51,9 @@
4851
width: 0;
4952
margin: 0;
5053
opacity: 0;
54+
55+
/* Hide radio buttons for Firefox too */
56+
position: absolute;
5157
}
5258

5359
.IconSizeNavigation,

0 commit comments

Comments
 (0)