Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vaadin Grid row height

Tags:

css

vaadin7

I want to reduce cell size so to fit more rows in screen. [screen][1] so far i have used

.v-grid-cell {
    font-size: 13px;
    height: 18px;
    vertical-align: middle; 
}
.v-grid-row{
    height: 18px;

}
.v-grid-row-odd {
    height: 18px;
    background-color: #EFF0F1;
}

and the [result][2]

like image 892
Nabeel Khan Avatar asked Apr 13 '26 11:04

Nabeel Khan


1 Answers

Try setting a line-height on .v-grid-cell:

.v-grid-cell {  
    line-height: 18px;
}

This isn't really a Sass question though, it's just general plain 'ol CSS.

like image 66
crmpicco Avatar answered Apr 16 '26 04:04

crmpicco