Hover effect is shown on the full row instead of a single box

Created on 17 December 2019, over 4 years ago
Updated 21 July 2023, 11 months ago

Overview

When creating an image style with crop and hovering on the crop anchor, a hover effect is shown on the whole row instead of on the particular box.

Steps to Reproduce

  1. Navigate to Configuration > Image styles
  2. Add a new image style
  3. Add Image style name > Create new style
  4. Add new image effect > Crop > Add
  5. View issue when hovering over Anchor selection within the crop style configuration form - notice when hovering on a cell, the whole row is highlighted

Screenshot of issue

Solution

Added this in /workspace/DrupalPod/web/core/themes/claro/css/components/tables.pcss.css

.image-anchor tr :not(:hover) {
background-color: #ffffff;
}
.image-anchor tr :hover > div {
background-color: transparent;
}

Screenshot of solution

🐛 Bug report
Status

Fixed

Version

11.0 🔥

Component
Claro 

Last updated about 6 hours ago

Created by

🇮🇳India MeenakshiG New Delhi

Live updates comments and jobs are added and updated live.
  • CSS

    It involves the content or handling of Cascading Style Sheets.

  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024