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[] * @var int[]
*/ */
protected static $scale = [ protected static $scale = [
'none' => 0, 'default' => 0,
'default' => 8, 'small' => 8,
'large' => 16, 'large' => 16,
]; ];
@@ -109,11 +109,8 @@ TCEFORM {
list.disabled = 1 list.disabled = 1
gridelements_pi1.disabled = 1 gridelements_pi1.disabled = 1
} }
removeItems := addToList(extra-small, small, medium, extra-large) removeItems := addToList(extra-small, medium, extra-large)
altLabels.. = Standard altLabels.. = Standard (ohne)
addItems {
none = ohne
}
} }
space_after_class < .space_before_class space_after_class < .space_before_class