Issue Bug Under Review Orphaned

#103328UX: CEs preview-text is linked but not fully clickable

Ayke Halder 03/07/24, 18:05 updated 04/22/26, 06:56

Description

In the BE there is some preview text for each content-element. Unfortunatelly the clickable area is non-continuous, which results in flickering on hover and missed clicks.

typo3-be-edit-link-stutter.gif

This behaviour can be reproduced in Firefox and also in Chrome.

Technical background

This can only be shown in Firefox Dev Tools. Chrome just shows a continous link-area, but also behaves like having a non-continuous link-area.

typo3-be-edit-link.png

Suggested fix

Add padding-top and padding-bottom to the a element.

typo3-be-edit-link-fixed.png

Reviews 1

History 26

  1. Ayke Halder commented and changed attached clipboard-202403131124-1scin.png attached clipboard-202403131125-dxowu.png <span data-processor="relativetime" data-value="2024-03-13T10:26:13+00:00" > 03/13/24, 10:26 </span>

    There are multiple a-tags involved. We can not use display:inline-block here, as it totally breaks the positioning of elements.

    <div class="element-preview-content">
        <a href="#">Test text<br>Test</a>
        <a href="#"><div class="preview-thumbnails" style="--preview-thumbnails-size: 64px"><div class="preview-thumbnails-element"><div class="preview-thumbnails-element-image"><img src="..."></div></div></div></a>
    </div>

    Example: original

    clipboard-202403131125-dxowu.png

    Example: inline-block

    clipboard-202403131124-1scin.png