Skip to content

Aggrid styling #552

Closed Answered by falkoschindler
Shahin-rmz asked this question in Q&A
Discussion options

You must be logged in to vote

max-h-999 is not a Tailwind class. That's why it is not working. See here for available classes.

Making an HTML fullscreen is actually not that trivial. But you can set the height to 100% of the viewport height. In order to incorporate the 16px margin, you can subtract 32px from that viewport height:

ui.aggrid({}).style('height: calc(100vh - 32px)')

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Shahin-rmz
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