Merge branch 'ent-8112-icono-collapse-recortado' into 'develop'

Fix issue with collapse icon

Closes pandora_enterprise#8112

See merge request artica/pandorafms!4689
This commit is contained in:
Daniel Rodriguez 2022-03-09 12:50:17 +00:00
commit d73bd92157
2 changed files with 17 additions and 13 deletions

View File

@ -107,7 +107,12 @@ echo '</a></div>';
require 'operation/menu.php'; require 'operation/menu.php';
require 'godmode/menu.php'; require 'godmode/menu.php';
echo sprintf('<div id="button_collapse" class="button_%s button_collapse"></div>', $menuTypeClass); html_print_div(
[
'id' => 'button_collapse',
'class' => sprintf('button_collapse button_%s', $menuTypeClass),
]
);
echo '</div>'; echo '</div>';
// Menu_container. // Menu_container.

View File

@ -389,7 +389,7 @@ ul li {
.button_collapse { .button_collapse {
margin-top: auto; margin-top: auto;
height: 38px; min-height: 38px;
background-color: #505050; background-color: #505050;
text-align: center; text-align: center;
color: #fff; color: #fff;
@ -427,7 +427,6 @@ ul li {
} }
.button_classic { .button_classic {
width: 215px;
background-image: url(../../images/button_collapse_menu.png); background-image: url(../../images/button_collapse_menu.png);
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
@ -440,7 +439,7 @@ ul li {
} }
/* Menu height: 601px, 720px, 735px */ /* Menu height: 601px, 720px, 735px */
@media screen and (max-height: 720px) { @media screen and (max-height: 750px) {
.menu li, .menu li,
.menu li a, .menu li a,
.menu li div { .menu li div {
@ -448,7 +447,7 @@ ul li {
} }
} }
@media screen and (max-height: 735px) { @media screen and (max-height: 750px) {
.operation { .operation {
padding-top: 10px; padding-top: 10px;
} }