Commit 10c33970 authored by Frank Nägler's avatar Frank Nägler Committed by Wouter Wolters
Browse files

[BUGFIX] Set max size of icons below select fields

Resolves: #70320
Releases: master
Change-Id: Ib00b04fcdd9957d926378dfd4b89a7f124307cf0
Reviewed-on: http://review.typo3.org/43751

Reviewed-by: default avatarMichael Oehlhof <typo3@oehlhof.de>
Tested-by: default avatarMichael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
parent c62f617b
......@@ -288,3 +288,10 @@ div.t3-form-field-container:first-child .t3-form-field-label-flex {
.t3-form-field-label.t3-form-field-state-changed {
color: #004fb0;
}
.table-icons {
td img {
max-width: 128px;
max-height: 128px;
}
}
......@@ -224,7 +224,7 @@ class SelectSingleElement extends AbstractFormElement {
$selectIconRows = ceil(count($selectIcons) / $selectIconColumns);
$selectIcons = array_pad($selectIcons, $selectIconRows * $selectIconColumns, '');
$html[] = '<div class="t3js-forms-select-single-icons table-fit table-fit-inline-block">';
$html[] = '<div class="t3js-forms-select-single-icons table-icons table-fit table-fit-inline-block">';
$html[] = '<table class="table table-condensed table-white table-center">';
$html[] = '<tbody>';
$html[] = '<tr>';
......
......@@ -11168,6 +11168,10 @@ div.t3-form-field-container:first-child .t3-form-field-label-flex {
.t3-form-field-label.t3-form-field-state-changed {
color: #004fb0;
}
.table-icons td img {
max-width: 128px;
max-height: 128px;
}
.list-tree,
.list-tree ul {
margin-left: 8px;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment