decluttering-card icon indicating copy to clipboard operation
decluttering-card copied to clipboard

The card uses non-unique ids for CSS elements inside a card

Open ildar170975 opened this issue 1 year ago • 1 comments

Checklist:

  • [ x] I updated to the latest version available
  • [ x] I cleared the cache of my browser

Release with the issue: 0.6.3

Last working release (if known):

Browser and Operating System: Chrome, Win10x64

Description of problem: The card uses a declutter-child value as an ID for css elements. Here is an example for custom:mini-graph-card: image

As a result - css elements do not have unique IDs in case of presence of several cards on the view. This becomes a problem when using a card-mod in Safari - using pointers like rect#some_id affects on all similar cards on the view instead of only one particular card. See a more detailed description: https://github.com/kalkih/mini-graph-card/issues/839

Javascript errors shown in the web inspector (if applicable): None


Additional information:

ildar170975 avatar Nov 16 '22 17:11 ildar170975