8000 bug #17330 Limit the max height/width of icons in the profiler menu (… · ostrolucky/symfony@ebacf55 · GitHub
[go: up one dir, main page]

Skip to content

Commit ebacf55

Browse files
committed
bug symfony#17330 Limit the max height/width of icons in the profiler menu (javiereguiluz)
This PR was squashed before being merged into the 2.8 branch (closes symfony#17330). Discussion ---------- Limit the max height/width of icons in the profiler menu | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | symfony#17329 | License | MIT | Doc PR | - Commits ------- 1f5f81c Limit the max height/width of icons in the profiler menu
2 parents 3c10cd6 + d3da769 commit ebacf55

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Resources/views/Profiler/profiler.css.twig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,11 @@ tr.status-warning td {
619619
width: 50px;
620620
text-align: center;
621621
}
622+
#menu-profiler .label .icon img,
623+
#menu-profiler .label .icon svg {
624+
height: 24px;
625+
max-width: 24px;
626+
}
622627
#menu-profiler li a .label .icon svg path {
623628
fill: #DDD;
624629
}

Resources/views/Profiler/toolbar.css.twig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@
5353
}
5454
.sf-toolbarreset svg,
5555
.sf-toolbarreset img {
56-
max-height: 20px;
57-
max-width: 20px;
56+
height: 20px;
5857
}
5958

6059
.sf-toolbarreset .hide-button {

0 commit comments

Comments
 (0)
0