insighty / openesignforms

Automatically exported from code.google.com/p/openesignforms
0 stars 0 forks source link

Date input field type needs nowrap #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create date field
2. Calendar icon drops to next line

What is the expected output? What do you see instead?
Want to keep calendar next to date field

Original issue reported on code.google.com by toni.yoz...@gmail.com on 3 Jun 2011 at 4:46

GoogleCodeExporter commented 8 years ago
This bug only seems to appear if the Date field is not set to AUTO size. Looks 
like it needs a nowrap style added to keep the field and calendar image popup 
button together.

Original comment by yoz...@gmail.com on 3 Jun 2011 at 6:04

GoogleCodeExporter commented 8 years ago
Fixed in 1.1.

Added a nowrap to the span that holds the input field and calendar icon so they 
stay together.  Further, since the input field inherits the container span's 
100%, the calendar icon appeared outside of its block, making for overlapping 
text if something was written right after the date input. We now put the 
calendar margin negative so it's in the input field area and thus doesn't take 
up extra space. 

Original comment by yoz...@gmail.com on 3 Jun 2011 at 9:58