Skip to content

Commit 45b8021

Browse files
committed
Use vendor prefixes to reset box-sizing.
Firefox and older webkit doesn't understand "box-sizing: content-box", but do have vendor prefixes for it. Bootstrap >= 3 sets the box-sizing to border-box using vendor prefixes and messes up the tabs layout, forcing us to use them to reset it. First reported in #32.
1 parent 8e9dd1c commit 45b8021

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

public/stylesheets/DV/components/reset.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,7 @@
2323
}
2424

2525
.DV-docViewer * {
26-
box-sizing: content-box;
26+
-webkit-box-sizing: content-box;
27+
-moz-box-sizing: content-box;
28+
box-sizing: content-box;
2729
}

0 commit comments

Comments
 (0)