Skip to content

Commit

Permalink
Fix primefaces#24: Grid allow 0 to hide elements
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Jul 9, 2020
1 parent 7273fc3 commit b7228a9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/_grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@
padding: $gutter;
}

.p-col-0 {
display: none;
}

.p-col-1 {
width: 8.3333%;
}
Expand Down Expand Up @@ -436,6 +440,10 @@
flex: 0 0 auto;
}

.p-sm-0 {
display:none;
}

.p-sm-1 {
width: 8.3333%;
}
Expand Down Expand Up @@ -632,6 +640,10 @@
flex: 0 0 auto;
}

.p-md-0 {
display: none;
}

.p-md-1 {
width: 8.3333%;
}
Expand Down Expand Up @@ -827,6 +839,10 @@
flex: 0 0 auto;
}

.p-lg-0 {
display: none;
}

.p-lg-1 {
width: 8.3333%;
}
Expand Down Expand Up @@ -1022,6 +1038,10 @@
flex: 0 0 auto;
}

.p-xl-0 {
display: none;
}

.p-xl-1 {
width: 8.3333%;
}
Expand Down

0 comments on commit b7228a9

Please sign in to comment.