Skip to content

Commit 3e008c9

Browse files
committed
feat: add missing box-sizing CSS property
1 parent 8bbb4c4 commit 3e008c9

3 files changed

Lines changed: 9 additions & 20 deletions

File tree

pnpm-lock.yaml

Lines changed: 8 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/style.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
.code-diff-view {
44
* {
55
position: static;
6+
box-sizing: border-box;
67
}
78

89
position: relative;

vue3-playground/App.vue

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ const form = reactive({
5050
:new-string="form.newString"
5151
:language="form.language"
5252
:diff-style="form.diffStyle"
53-
:output-format="form.outputFormat"
5453
:context="form.context"
5554
/>
5655
</template>
@@ -61,12 +60,4 @@ body > div {
6160
-webkit-font-smoothing: antialiased;
6261
color: #2c3e50;
6362
}
64-
*,
65-
*::before,
66-
*::after {
67-
box-sizing: border-box;
68-
margin: 0;
69-
position: relative;
70-
font-weight: normal;
71-
}
7263
</style>

0 commit comments

Comments
 (0)