Skip to content

Commit fd7f2ea

Browse files
committed
fix: fix typo with CSS var in mixin
1 parent 95a4e71 commit fd7f2ea

File tree

1 file changed

+2
-3
lines changed
  • packages/uikit-workshop/src/sass/scss/01-abstracts

1 file changed

+2
-3
lines changed

packages/uikit-workshop/src/sass/scss/01-abstracts/_mixins.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,8 @@
101101
*/
102102
&.pl-is-active {
103103
max-height: calc(100vh - #{$offset-top} - 1rem);
104-
max-height: var(
105-
calc(--pl-viewport-height - 1rem),
106-
calc(100vh - #{$offset-top} - 1rem)
104+
max-height: calc(
105+
var(--pl-viewport-height, calc(100vh - #{$offset-top})) - 1rem
107106
); /* [1] */
108107
overflow: auto;
109108
-webkit-overflow-scrolling: touch;

0 commit comments

Comments
 (0)