Skip to content

Commit

Permalink
Fixed NullableBoolean align issue
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehansen committed Jul 28, 2015
1 parent 05105fa commit 439d538
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
5 changes: 5 additions & 0 deletions src/WebComponents/QueryGrid/query-grid-cells.css
@@ -1,3 +1,8 @@
.cell[data-vi-column-type='Boolean'],
.cell[data-vi-column-type='NullableBoolean'],
.cell[data-vi-column-type='YesNo'] {
text-align: center;
}
.cell[data-vi-column-type='Boolean'] vi-resource.unchecked #check,
.cell[data-vi-column-type='NullableBoolean'] vi-resource.unchecked #check,
.cell[data-vi-column-type='YesNo'] vi-resource.unchecked #check {
Expand Down
2 changes: 2 additions & 0 deletions src/WebComponents/QueryGrid/query-grid-cells.less
Expand Up @@ -2,6 +2,8 @@

.cell {
&[data-vi-column-type='Boolean'], &[data-vi-column-type='NullableBoolean'], &[data-vi-column-type='YesNo'] {
text-align: center;

vi-resource.unchecked {
#check {
display: none;
Expand Down

0 comments on commit 439d538

Please sign in to comment.