Skip to content

Commit

Permalink
feat(layout): Make sidebar height in mobile view configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipLeitner authored and jmacura committed Nov 26, 2024
1 parent 15ae173 commit ce6a647
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions projects/hslayers/core/hslayers.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,13 @@ div.hs-content-wrapper:not(.hs-open) div.hs-panelspace-wrapper {
flex-direction: column;
scrollbar-width: none;
/* firefox */
height: 40vh;
height: var(--hs-panelspace-normal-height, 70vh);
overflow-y: visible;
width: 100%;
transition: height 0.5s ease-in-out;

&.expanded {
height: 70vh;
&.shrunk {
height: var(--hs-panelspace-shrunk-height, 20vh);
}
}

Expand Down

0 comments on commit ce6a647

Please sign in to comment.