Skip to content

Commit 4811c08

Browse files
committed
fix: move box-sizing property to a universal selector for consistent styling
1 parent 64b896b commit 4811c08

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/react-obj-view/components/style.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@
3131
--opacity: 100%;
3232
background-color: var(--bg-color);
3333
color: var(--color);
34-
box-sizing: content-box;
34+
* {
35+
box-sizing: content-box;
36+
}
3537
.row {
3638
display: flex;
3739
flex-direction: row;
@@ -48,6 +50,7 @@
4850
--row-bg-mark: color-mix(in srgb, rgba(255, 128, 0, 0.1) var(--compare-mark), transparent);
4951

5052
background-color: var(--row-bg-mark);
53+
5154
&:hover {
5255
background-color: color-mix(in srgb, var(--bigobjview-color) 3%, var(--row-bg-mark));
5356
}

0 commit comments

Comments
 (0)