Skip to content

Commit

Permalink
fix: fix height in vertical mode
Browse files Browse the repository at this point in the history
Release-As: 3.0.0-beta2
  • Loading branch information
MindFreeze committed Apr 25, 2024
1 parent 218a452 commit ada764a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/styles.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { css } from 'lit';
import { css, unsafeCSS } from 'lit';
import { MIN_VERTICAL_SECTION_H } from './const';

// https://lit.dev/docs/components/styles/
Expand Down Expand Up @@ -33,7 +33,7 @@ export default css`
align-items: flex-start;
max-width: 100%;
width: 100%;
height: ${MIN_VERTICAL_SECTION_H}px;
height: ${unsafeCSS(MIN_VERTICAL_SECTION_H + 'px')};
}
.wide .section:last-child {
flex: initial;
Expand Down

0 comments on commit ada764a

Please sign in to comment.