Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 80e2e1f

Browse files
committed
bug #22752 Improved how profiler errors are displayed on small screens (javiereguiluz)
This PR was merged into the 2.8 branch. Discussion ---------- Improved how profiler errors are displayed on small screens | Q | A | ------------- | --- | Branch? | 2.8 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - This change only affects the profiler menu when displaying it on small screens and collapsed: | BEFORE | AFTER | --- | --- | ![before](https://cloud.githubusercontent.com/assets/73419/26194914/483ad578-3bba-11e7-85bb-94f00876b89a.png) | ![after](https://cloud.githubusercontent.com/assets/73419/26194916/492598d8-3bba-11e7-8d7c-6f37a3b00098.png) In action: ![profiler-menu-errors](https://cloud.githubusercontent.com/assets/73419/26194969/749e7a7a-3bba-11e7-9464-d3c75fa51315.gif) Commits ------- 3d6d80d Improved how profiler errors are dispalyed on small screens
2 parents b8c9597 + 3d6d80d commit 80e2e1f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -973,6 +973,18 @@ table.logs .sf-call-stack abbr {
973973
display: block;
974974
}
975975

976+
#sidebar:not(:hover):not(.expanded) .label .count {
977+
border-radius: 50%;
978+
border: 1px solid #eee;
979+
height: 8px;
980+
min-width: 0;
981+
padding: 0;
982+
right: 4px;
983+
text-indent: -9999px;
984+
top: 50%;
985+
width: 8px;
986+
}
987+
976988
.visible-small {
977989
display: inherit;
978990
}

0 commit comments

Comments
 (0)