10000 Limit the max height/width of icons in the profiler menu · symfony/symfony@1f5f81c · GitHub
[go: up one dir, main page]

Skip to content

Commit 1f5f81c

Browse files
javiereguiluzfabpot
authored andcommitted
Limit the max height/width of icons in the profiler menu
1 parent 4555fec commit 1f5f81c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/Symfony/Bundle/WebProfilerBundle/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
}

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@
5050
}
5151
.sf-toolbarreset svg,
5252
.sf-toolbarreset img {
53-
max-height: 20px;
54-
max-width: 20px;
53+
height: 20px;
5554
}
5655

5756
.sf-toolbarreset .hide-button {

0 commit comments

Comments
 (0)
0