Skip to content

Commit 8c42274

Browse files
committed
[devtools] overlay backdrop visibility hidden when not fullscreen
1 parent 370b097 commit 8c42274

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/next/src/next-devtools/dev-overlay/components/devtools-panel/devtools-panel.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,10 +228,12 @@ export const DEVTOOLS_PANEL_STYLES = css`
228228
229229
[data-nextjs-devtools-panel-overlay-backdrop] {
230230
opacity: 0;
231+
visibility: hidden;
231232
}
232233
233234
[data-nextjs-devtools-panel-overlay-backdrop='true'] {
234235
opacity: 1;
236+
visibility: visible;
235237
}
236238
237239
[data-nextjs-devtools-panel-draggable] {

0 commit comments

Comments
 (0)