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

Created on 17 December 2019, almost 5 years ago
Updated 21 July 2023, over 1 year 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 1 day 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.71.5 2024