custom-cards / flex-table-card

Highly Flexible Lovelace Card - arbitrary contents/columns/rows, regex matched, perfect to show appdaemon created content and anything breaking out of the entity_id + attributes concept
GNU General Public License v3.0
198 stars 23 forks source link

Unable to select (mark) text #91

Closed quack3d closed 10 months ago

quack3d commented 1 year ago

When setting up the card, selecting text from the preview works fine and I can copy from the table and paste elsewhere. But when the card is saved I can no longer select text in the table. Is that by design?

daringer commented 10 months ago

This is more or less by design, it's simply inherited from parent html-homeassistant-elements I guess... setting user-select: text via css should allow you to select text, should be something like this:

css:
  'tbody tr+': 'user-select: text'