iD icon indicating copy to clipboard operation
iD copied to clipboard

Styling improvements for the custom map data panel

Open k-yle opened this issue 1 month ago • 3 comments

Closes #9628

just some padding and removal of the weird <hr />

Before After
image image

k-yle avatar Dec 03 '25 13:12 k-yle

Line breaks on the values and keys (break all) would be great too.

tordans avatar Dec 03 '25 13:12 tordans

Line breaks on the values and keys (break all) would be great too.

I tried this, but unfortunately it's non-straightforward, because the text is rendered in an <input /> element, and replacing it with a <textarea /> or <div /> introduces a lot of complexity. Might be easier to keep this panel consitent with the normal raw tags editor?

k-yle avatar Dec 05 '25 11:12 k-yle

(For the future:)

Might be easier to keep this panel consitent with the normal raw tags editor?

Don't see a reason to keep it the same code. I always thought of it as kind of a hack to re-use it given that we have to disable all but the table rendering in terms of features. There a few ideas in the rapid issues on how to build this out more and that would be great for quick mapping tasks that one does not want to create a MR challenge for.

tordans avatar Dec 05 '25 12:12 tordans