Skip to content

Commit 43d82e7

Browse files
committed
minor symfony#16628 [WebProfilerBundle] Added a top left border radius to the minified to… (Jelle Kapitein)
This PR was squashed before being merged into the 2.8 branch (closes symfony#16628). Discussion ---------- [WebProfilerBundle] Added a top left border radius to the minified to… | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | N/A | License | MIT | Doc PR | N/A The minified toolbar (to us at least) looked very out of place in all of our projects. Adding a border radius to the top left fixes that. Chrome 46 ![schermafbeelding 2015-11-23 om 09 29 06](https://cloud.githubusercontent.com/assets/6209772/11332470/41240b96-91c6-11e5-9d03-4738ff213295.png) Firefox 42 ![schermafbeelding 2015-11-23 om 09 29 53](https://cloud.githubusercontent.com/assets/6209772/11332476/55fbf574-91c6-11e5-898b-1ba2590a813b.png) Safari 9 ![schermafbeelding 2015-11-23 om 09 30 33](https://cloud.githubusercontent.com/assets/6209772/11332485/6351525a-91c6-11e5-8cbc-14b7efd82ce0.png) Cannot test on IE/Edge at the moment, will be able to later today. (The screenshots do not have commit symfony@0459912) Commits ------- ca9f446 [WebProfilerBundle] Added a top left border radius to the minified to…
2 parents 57e0468 + ca9f446 commit 43d82e7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.sf-minitoolbar {
22
background-color: #222;
3+
border-top-left-radius: 4px;
34
bottom: 0;
45
display: none;
56
height: 30px;
@@ -8,6 +9,7 @@
89
right: 0;
910
z-index: 99999;
1011
}
12+
1113
.sf-minitoolbar a {
1214
display: block;
1315
}
@@ -357,6 +359,8 @@
357359
/* Override the setting when the toolbar is on the top */
358360
{% if position == 'top' %}
359361
.sf-minitoolbar {
362+
border-bottom-left-radius: 4px;
363+
border-top-left-radius: 0;
360364
bottom: auto;
361365
right: 0;
362366
top: 0;

0 commit comments

Comments
 (0)