Stacks icon indicating copy to clipboard operation
Stacks copied to clipboard

Style readonly attribute (not read-only)

Open dancormier opened this issue 3 years ago • 2 comments

Addresses: https://github.com/StackExchange/Stacks/issues/620

The attribute to target is readonly. It can also be targeted as a pseudo-class in the form of :read-only, which is what I'd guess caused the confusion here.

The <select /> element

This targets a readonly attribute on <select /> elements, though that element does not support it. See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attributes

dancormier avatar Jun 04 '21 15:06 dancormier

Deploy Preview for stacks ready!

Name Link
Latest commit d7a81bc8b289c6308b6ac343c57fa7d967aaf297
Latest deploy log https://app.netlify.com/sites/stacks/deploys/628bc929c90cdb00086b6e9f
Deploy Preview https://deploy-preview-678--stacks.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

netlify[bot] avatar Jun 04 '21 15:06 netlify[bot]

I think this actually needs some more thought than just looking like a disabled input. I'll add this to a list of items needing designs.

aaronshekey avatar Jun 08 '21 20:06 aaronshekey