bug #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 #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 | #17329
| License       | MIT
| Doc PR        | -

Commits
-------

1f5f81c Limit the max height/width of icons in the profiler menu
This commit is contained in:
Fabien Potencier 2016-01-25 12:41:28 +01:00
commit fe7316271a
2 changed files with 6 additions and 2 deletions

View File

@ -619,6 +619,11 @@ tr.status-warning td {
width: 50px;
text-align: center;
}
#menu-profiler .label .icon img,
#menu-profiler .label .icon svg {
height: 24px;
max-width: 24px;
}
#menu-profiler li a .label .icon svg path {
fill: #DDD;
}

View File

@ -53,8 +53,7 @@
}
.sf-toolbarreset svg,
.sf-toolbarreset img {
max-height: 20px;
max-width: 20px;
height: 20px;
}
.sf-toolbarreset .hide-button {