Débordement ok

This commit is contained in:
Fred Tempez 2021-11-14 10:12:17 +01:00
parent eaccb4bb9d
commit eccb64356a
2 changed files with 8 additions and 2 deletions

View File

@ -498,11 +498,17 @@ header .container {
height: 100%; height: 100%;
} }
/* Marges au cotneu de la bannière personnalisée */ /* Marges au cotenu de la bannière personnalisée */
header:not(.container) #featureContent { header:not(.container) #featureContent {
margin: 0 10px; margin: 0 10px;
} }
header #featureContent {
overflow: hidden;
}
/* Element du header /* Element du header
#themeHeaderImage { #themeHeaderImage {

View File

@ -30,7 +30,7 @@ $("input, select").on("change", function() {
if (headerHeight === 'none') { if (headerHeight === 'none') {
css = "header{height:unset; background-position:top; background-repeat: no-repeat;;line-height:1.15;background-color:unset;;background-image:unset;text-align:unset}"; css = "header{height:unset; background-position:top; background-repeat: no-repeat;;line-height:1.15;background-color:unset;;background-image:unset;text-align:unset}";
} else { } else {
css = "header{height:" + $("#themeHeaderHeight").val() + ";background-position:top; background-repeat: no-repeat;;line-height:1.15;background-color:unset;;background-image:unset;text-align:unset}"; css = "header{height:" + $("#themeHeaderHeight").val() + "; overflow:hidden;background-position:top; background-repeat: no-repeat;;line-height:1.15;background-color:unset;;background-image:unset;text-align:unset}";
} }
$("#featureContent").appendTo("header").show(); $("#featureContent").appendTo("header").show();