Skip to content

Commit a674379

Browse files
committed
fix: default box-sizing for floating panel
1 parent 7903740 commit a674379

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • packages/devtools/src/runtime/plugins/view

packages/devtools/src/runtime/plugins/view/Main.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,11 @@ onMounted(() => {
387387
transform: translate(-50%, -50%) rotate(0);
388388
font-family: Arial, Helvetica, sans-serif;
389389
font-size: 15px !important;
390+
box-sizing: border-box;
391+
}
392+
393+
#nuxt-devtools-anchor * {
394+
box-sizing: border-box;
390395
}
391396
392397
#nuxt-devtools-anchor button {

0 commit comments

Comments
 (0)