Skip to content

Commit

Permalink
update word warp
Browse files Browse the repository at this point in the history
  • Loading branch information
roniny-afk committed Jan 10, 2018
1 parent 64adc74 commit ffc0681
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions aqa-vaadin-grid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@
height: auto;
border: 1px solid #ddd;
}
:host [part~="cell"]:not([part~="details-cell"]) ::slotted(vaadin-grid-cell-content) {
white-space: normal;
}

[part~="cell"] {
color: #000;
font-size: 1rem;
padding:5px;
border-right:1px solid #ddd;
font-family: TrirongRegular;
white-space: normal;
margin:0;
}

Expand Down Expand Up @@ -49,7 +51,6 @@
font-size: 1rem;
padding:5px;
font-family: TrirongRegular;
white-space: normal;
margin:0;
}

Expand Down
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h3>Basic aqa-vaadin-grid demo</h3>

<script>
document.getElementById('grid').items = [
{name:'จุฬาลงกรณ์มหาวิทยาลัย', age: 19},
{name:'จุฬาลงกรณ์มหาวิทยาลัย ุฬาลงกรณ์มหาวิทยาลัยจุฬาลงกรณ์มหาวิทยาลัย', age: 19},
{name:'Chemical Biology', age: 20},
{name:'จุฬาลงกรณ์มหาวิทยาลัย', age: 19},
{name:'Chemical Biology', age: 20}
Expand Down

0 comments on commit ffc0681

Please # to comment.