💄 N°3913 Setup : fix license content overflow in "license agreement" step

Added `white-space: pre-wrap;` in setup.scss as all pre tags inside the setup container are subject to this problem because this container has a specific width set.
This commit is contained in:
Pierre Goiffon
2021-05-04 09:30:38 +02:00
parent 993dbed7e7
commit 8227796c87
3 changed files with 1025 additions and 621 deletions

File diff suppressed because one or more lines are too long

View File

@@ -341,6 +341,10 @@ body {
margin-left: auto;
margin-right: auto;
pre {
white-space: pre-wrap;
}
.ibo-title {
@extend %ibo-vertically-centered-content;

View File

@@ -706,12 +706,12 @@ class WizStepLicense extends WizardStep
{
$aLicenses = SetupUtils::GetLicenses();
$oPage->add_style(
<<<EOF
fieldset ul{
<<<CSS
fieldset ul {
max-height: 18em;
overflow: auto;
}
EOF
CSS
);
$oPage->add('<h2>Licenses agreements for the components of '.ITOP_APPLICATION.'</h2>');