sugarlabs / sugar-web

Components for Sugar web activities
Apache License 2.0
13 stars 32 forks source link

Fix textarea expanding, fixes #4832 #118

Closed samdroid-apps closed 9 years ago

samdroid-apps commented 9 years ago

This commit makes the palette expand on the x-axis when the textarea in the activity palette is expanded. This means it does not overflow.

This commit also puts limits on the size of the text area, so the user can not drag it to be small and weird looking.

Bug link: http://bugs.sugarlabs.org/ticket/4832

abhiskaushik commented 9 years ago

@SAMdroid-apps you too fixed it :+1: I pushed the entire new template with other bugs fixed as well to https://github.com/sugarlabs/sugar-web-template/pull/24 Thanks for the notice !

godiard commented 9 years ago

@SAMdroid-apps , maybe is better avoid resize at all, using "resize: none;".

http://stackoverflow.com/questions/5235142/how-to-disable-resizable-property-of-textarea

godiard commented 9 years ago

To be more clear, I think resize: none would be applied to all the textareas.