Skip to content

FitAddon is calculating wrong dimension #4853

Closed Answered by jerch
bajrangCoder asked this question in Q&A
Discussion options

You must be logged in to vote

@bajrangCoder Bottom gap looks likes its smaller than one line in height, right side gap looks like its reserving space for the scrollbar + a gap < 1 cell width - I'd say this works as intended.

Those cell fitting gaps can only be leveled out by some CSS adjusting rules, the terminal/fit addon cannot fill that fully, if the dimensions of the outer container is not a perfect fit.

Regarding the scrollbar space - this can be deactivated (makes sense if your content never gonna run it scrollback), or just always show it.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@bajrangCoder
Comment options

Answer selected by bajrangCoder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants