Improve container padding handling regarding defaults

This commit is contained in:
Björn Fromme
2022-03-09 17:03:19 +01:00
parent bd25a99a0b
commit 50c5ee596c
2 changed files with 4 additions and 7 deletions
@@ -39,8 +39,8 @@ class ContainerViewHelper extends AbstractViewHelper
* @var int[]
*/
protected static $scale = [
'none' => 0,
'default' => 8,
'default' => 0,
'small' => 8,
'large' => 16,
];
@@ -109,11 +109,8 @@ TCEFORM {
list.disabled = 1
gridelements_pi1.disabled = 1
}
removeItems := addToList(extra-small, small, medium, extra-large)
altLabels.. = Standard
addItems {
none = ohne
}
removeItems := addToList(extra-small, medium, extra-large)
altLabels.. = Standard (ohne)
}
space_after_class < .space_before_class