omeka-s-modules/UriDereferencer

CSS issues

Closed this issue · 1 comments

When the page loads, the toggle button is set to display:inline which means the width:1.5em on line 12 doesn't do anything.

When the toggle is clicked, the [+] div disappears (display:none) and the [-] div appears (display:inline-flex) which means the width works and there is suddenly a bit of space between the toggle and the following URI.

And, if you click it again, the [+] comes back, now display:inline-flex so the width keeps working.

width

I presume the answer is to set the [+] to display:inline-flex by default in the CSS, or forget the width and use some right padding instead.

This looks good in all themes now, thanks!