This must have been asked before, but cant find from my search skills.
How to make the row height much more compact than default minimum (32) in UI-THEME settings ?
I want to display a ui-table, with more compact style (more no of rows in visible desktop).
2 things to adjust
Font size and the row height. Find good balance between those.
.nrdb-ui-table .v-table--density-default{
--v-table-row-height: 20px;
}
.nrdb-ui-table .v-table__wrapper{
font-size: smaller;
}
I must be doing something wrong, the row height in the ui-table is not changing neither the font size
I tried widget group scope / page scope nothing is working.
EDIT: Font size is changing, row height is not..
UPDATE:
there must be some other CSS override happening in the existing page/group.
I created a new page/group and the row height change is working!
EDIT:
adding a button , disturbs it.
butto
.nrdb-ui-table .v-table__wrapper .v-btn.v-btn--density-default{
min-height: unset !important;
}
1 Like
UI Scope or Page Scope or CSS all pages?
It's up to you. I can't advise without knowing all about your dashboard structure and of course the design target.
1 Like
OK. I understood the concept.