Commit 7608be0e authored by Jochen Roth's avatar Jochen Roth Committed by Benni Mack

[BUGFIX] Restore layout of clipboard buttons in filelist and recordlist

Will set equal height for checked checkbox and the empty button.
The first button will now get a border-radius to streamline the
buttons according to the action buttons

Resolves: #93292
Releases: master
Change-Id: I6479c968f77df41ed00d23d68c5ec23363ac64a3
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67449Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarGuido Schmechel <guido.schmechel@brandung.de>
Tested-by: default avatarRichard Haeser <richard@richardhaeser.com>
Tested-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarRichard Haeser <richard@richardhaeser.com>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
parent 05e679a7
......@@ -108,6 +108,10 @@ $panel-lg-padding: 35px;
> .table-fit {
margin: 0;
}
label {
margin-bottom: 0;
}
}
.recordlist {
......
......@@ -957,7 +957,7 @@ class FileList
$n = '_FILE|' . $md5;
$this->CBnames[] = $n;
$checked = $this->clipObj->isSelected('_FILE', $md5) ? ' checked="checked"' : '';
$cells[] = '<input type="hidden" name="CBH[' . $n . ']" value="0" /><label class="btn btn-default btn-checkbox"><input type="checkbox" name="CBC[' . $n . ']" value="' . htmlspecialchars($fullIdentifier) . '" ' . $checked . ' /><span class="t3-icon fa"></span></label>';
$cells[] = '<label class="btn btn-default btn-checkbox"><input type="checkbox" name="CBC[' . $n . ']" value="' . htmlspecialchars($fullIdentifier) . '" ' . $checked . ' /><span class="t3-icon fa"></span><input type="hidden" name="CBH[' . $n . ']" value="0" /></label>';
}
// Display PASTE button, if directory:
$elFromTable = $this->clipObj->elFromTable('_FILE');
......
Markdown is supported
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