]> git.openstreetmap.org Git - rails.git/commit
Make rich text edit controls use as much space as possible
authorTom Hughes <tom@compton.nu>
Thu, 12 Dec 2013 08:55:26 +0000 (08:55 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 12 Dec 2013 09:04:46 +0000 (09:04 +0000)
commit92d7a9f3fde4deac606025d16f2587b918158e15
treed9e0318a79127fefbe52d0de8d7b3319164afa54
parent32f86afbebf1219409b1d71a0444ed3c2679d775
Make rich text edit controls use as much space as possible

Use CSS3 calculations to set the width of a rich text edit control
to the maximum possible while still allowing space for the help.

Also set the subject/title fields to the same width.

Fixes #657
app/assets/stylesheets/common.css.scss
app/views/diary_entry/edit.html.erb
app/views/message/new.html.erb