Skip to content

Commit

Permalink
Fix primefaces#6098: Grid allow zero based columns
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Jul 3, 2020
1 parent e12716d commit eea6d65
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/main/resources/META-INF/resources/primefaces/grid/grid.css
Expand Up @@ -46,6 +46,10 @@
box-sizing: border-box;
}

.ui-grid-col-0 {
width: 0;
}

.ui-grid-col-1 {
width: 8.33333333%;
}
Expand Down Expand Up @@ -203,6 +207,10 @@
padding: 0.5em;
}

.ui-g-0 {
width: 0;
}

.ui-g-1 {
width: 8.33333333%;
}
Expand Down Expand Up @@ -319,6 +327,10 @@
padding: 0.5em;
}

.ui-sm-0 {
width: 0;
}

.ui-sm-1 {
width: 8.33333333%;
}
Expand Down Expand Up @@ -436,6 +448,10 @@
padding: 0.5em;
}

.ui-md-0 {
width: 0;
}

.ui-md-1 {
width: 8.33333333%;
}
Expand Down Expand Up @@ -553,6 +569,10 @@
padding: 0.5em;
}

.ui-lg-0 {
width: 0;
}

.ui-lg-1 {
width: 8.33333333%;
}
Expand Down Expand Up @@ -670,6 +690,10 @@
padding: 0.5em;
}

.ui-xl-0 {
width: 0;
}

.ui-xl-1 {
width: 8.33333333%;
}
Expand Down

2 comments on commit eea6d65

@mossaab0
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't display: none; be more appropriate?

@melloware
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is why I put that in the comment I think display:none is more appropriate but wasn't sure.

Please sign in to comment.