8000 Reset the box model to content-box in the web debug toolbar · symfony/symfony@ae95a71 · GitHub
[go: up one dir, main page]

Skip to content

Commit ae95a71

Browse files
committed
Reset the box model to content-box in the web debug toolbar
This makes the styles compatible with CSS frameworks changing the box model to box-sizing using a universal selector (Bootstrap 3 for instance).
1 parent 0ecd186 commit ae95a71

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar.css.twig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818
z-index: 6000000;
1919
}
2020

21+
.sf-toolbarreset * {
22+
-webkit-box-sizing: content-box;
23+
-moz-box-sizing: content-box;
24+
box-sizing: content-box;
25+
}
26+
2127
.sf-toolbarreset {
2228
position: fixed;
2329
background-color: #f7f7f7;

0 commit comments

Comments
 (0)
0