Skip to content

Commit 1f85a39

Browse files
author
Ephraim Härer
committed
added missing classes to backend styling
1 parent bb6f2c8 commit 1f85a39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Classes/PageLayoutView/ShortcutPreviewRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function renderPageModulePreviewContent(GridColumnItem $item): string
9393
foreach ($shortCutRenderItems as $shortcutRecord) {
9494
$shortcutItem = GeneralUtility::makeInstance(GridColumnItem::class, $item->getContext(), $item->getColumn(), $shortcutRecord);
9595
$preview .= '<p class="pt-2 small"><b><a href="' . $shortcutItem->getEditUrl() . '">' . $this->getLanguageService()->sL('LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:edit') . '</a></b></p>';
96-
$preview .= '<div class="mb-2 p-2 border reference">' . $shortcutItem->getPreview() . '<div class="reference-overlay bg-primary-subtle opacity-25 position-absolute top-0 start-0 w-100 h-100 pe-none"></div></div>';
96+
$preview .= '<div class="mb-2 p-2 border position-relative reference">' . $shortcutItem->getPreview() . '<div class="reference-overlay bg-primary-subtle opacity-25 position-absolute top-0 start-0 w-100 h-100 pe-none"></div></div>';
9797
}
9898
return $preview;
9999
}

0 commit comments

Comments
 (0)