Image : better CSS hover display would be nice

Open Beginner friendly
#3,244 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
css, javascript
Domain
frontend

Research direction

The issue describes the image hover overlay but does not name the relevant file. Start by locating the image component and its hover styles in the frontend, then compare the current behavior with the screenshots. Done means the hover block is centered, covers the full image, and has partial opacity.

Written by the indexing model from the issue text.

Description

1. to develop bug design skill: frontend
Is your feature request related to a problem? Please describe.
  • Nextcloud 34.0.5
  • Tables 2.4.0

When I hover my mouse cursor over an image, a 100% opaque block covers the image. I don't think that's appropriate. I think there should be partial opacity. Also, I notice that the block doesn’t cover 100% of the image (and isn’t centered very well), and I don’t know if that’s intentional, but I find it odd. I think it should cover 100% of the image.

I did try to create a PR myself, but I couldn't figure out where to edit the CSS properties.

Currently :
Image

What I suggest you to do :
Image

Currently :
Image

What I suggest you to do :
Image

Describe the solution you'd like

Check above

Describe alternatives you've considered

No response

Additional context

No response

Dominant language
JavaScript
Stars
220
Forks
57
Avg merge
1d 13h
Merged PRs (30d)
89

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nextcloud/tables

All issues in nextcloud/tables

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.