Permalink
Browse files

Fix width when in a grid - should always be "full" width I think.

  • Loading branch information...
jtsage committed Feb 20, 2012
1 parent 406293b commit 4516f80de7060046f709c0222b798c74284cc057
Showing with 6 additions and 0 deletions.
  1. +6 −0 css/jquery.mobile.datebox.css
@@ -18,6 +18,12 @@
.ui-input-datebox { width: 60%; display: inline-block; zoom:1; *display: inline; }
}
+/* Full width if in a grid, ignore the media query */
+.ui-grid-a .ui-input-datebox { width: 97%; }
+.ui-grid-b .ui-input-datebox { width: 97%; }
+.ui-grid-c .ui-input-datebox { width: 97%; }
+.ui-grid-d .ui-input-datebox { width: 97%; }
+
/* Calendar Mode Styles */
.ui-datebox-gridheader { text-align: center; }

0 comments on commit 4516f80

Please sign in to comment.