[openstreetmap/openstreetmap-website] Improve textarea behaviour (#2464)

hikemaniac notifications at github.com
Mon Dec 16 17:57:50 UTC 2019


This PR adds the resize: vertical CSS property to comment textareas to fix a problem, where they could be dragged beyond the sidebar.
Furthermore, I've added a min-height to all textareas to not let them be too small to enable the display of a scrolling bar.
I've also added a border-radius, to make the form fields more consistent with what we do with buttons and tables.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/2464

-- Commit Summary --

  * Fixed comment textarea going off the sidebar, added border-radius to form fields

-- File Changes --

    M app/assets/stylesheets/common.scss (6)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/2464.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2464.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2464
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20191216/d407bd68/attachment.html>


More information about the rails-dev mailing list