Skip to content

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

@ildar170975

Description

@ildar170975

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: kalkih/mini-graph-card#839

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


Additional information:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions