Skip to content

Igx17 grid row height #13966

Answered by georgianastasov
Eralmidia asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @Eralmidia,

I have been looking into your question and you are on the right track and using the right way about setting the size of the igx-grid component.

This is the correct way and the correct approach to set the size of igx-grid components globally in a project by handling the igx-grid element selector and setting the --ig-size variable to var(--ig-size-small) in a scss file that responsible for the entire project such as the styles.scss file.

igx-grid{
    --ig-size: var(--ig-size-small);
}

This way, all igx-grid components in your project will be with small size.

Everything works as expected and the described scenario could be observed here:

In addition, I have prepared smal…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kacheshmarova
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants