Skip to content

Commit

Permalink
Fix element window tab panel height
Browse files Browse the repository at this point in the history
We need to calc the height of the tab panel in order to
prevent scrollbars.
  • Loading branch information
tvdeyen committed Dec 6, 2023
1 parent 3fddbc0 commit 788a92c
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions app/assets/stylesheets/alchemy/shoelace.scss
Original file line number Diff line number Diff line change
Expand Up @@ -315,13 +315,23 @@
}
}

sl-tab-group {
height: inherit;
}

sl-tab-panel {
--padding: var(--spacing-4);
}

#element_area {
sl-tab-panel {
height: calc(100vh - 172px);
}
}

.alchemy-light {
sl-tab-group {
--indicator-color: var(--tabs_indicator-color);
--track-color: var(--tabs_track-color);
}

sl-tab-panel {
--padding: var(--spacing-4);
}
}

0 comments on commit 788a92c

Please sign in to comment.