Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added box-sizing border-box to grid blocks so they don't break when p…

…adding or border is set (note: not supported by IE7)
  • Loading branch information...
commit fa7fda282467604634479a35de420adb7ea83234 1 parent 7853808
@jaspermdegroot jaspermdegroot authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  css/structure/jquery.mobile.grid.css
View
2  css/structure/jquery.mobile.grid.css
@@ -1,6 +1,6 @@
/* content configurations. */
.ui-grid-a, .ui-grid-b, .ui-grid-c, .ui-grid-d { overflow: hidden; }
-.ui-block-a, .ui-block-b, .ui-block-c, .ui-block-d, .ui-block-e { margin: 0; padding: 0; border: 0; float: left; min-height:1px; }
+.ui-block-a, .ui-block-b, .ui-block-c, .ui-block-d, .ui-block-e { margin: 0; padding: 0; border: 0; float: left; min-height: 1px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; }
/* grid solo: 100 - single item fallback */
.ui-grid-solo .ui-block-a { display: block; float: none; }

1 comment on commit fa7fda2

@jaspermdegroot
Collaborator

part of PR #4514

Please sign in to comment.
Something went wrong with that request. Please try again.