]> git.openstreetmap.org Git - rails.git/commit
Align the richtext help text height with the height of the textarea.
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 13 Jan 2021 10:12:15 +0000 (10:12 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 13 Jan 2021 10:12:15 +0000 (10:12 +0000)
commited07e17ca2e7fdd41d876e02c3bad213af84eef5
tree236a4051c2b04d36a077ffae1892a5d3cad3aabd
parent58d8a8d3c43adc2fcb805e13c3b951f5aa842345
Align the richtext help text height with the height of the textarea.

This works by setting the card to the same height as its containing flexbox. For perfect alignment, we need to make sure the extra margin at the bottom of the text-area stops applying when they are shown side by side.
app/views/shared/_richtext_field.html.erb