Skip to content

How can I make an sl-tab-panel to take 100% height of the sl-tab-group or container? #1716

Answered by claviska
inakizi asked this question in Help
Discussion options

You must be logged in to vote

I think this might be what you're looking for:

sl-tab-group::part(base),
sl-tab-group::part(body),
sl-tab-panel {
  height: 100%;
}

sl-tab-panel {
  border: solid 2px tomato;
}

Replies: 1 comment 1 reply

Comment options

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

Answer selected by inakizi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants