Skip to content

Instantly share code, notes, and snippets.

@huang47
Created December 10, 2021 06:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save huang47/43b12fe89348337c53e071d58108f174 to your computer and use it in GitHub Desktop.
Save huang47/43b12fe89348337c53e071d58108f174 to your computer and use it in GitHub Desktop.
From 179ec79ad7b93f13260a87fa7e404444316dbdc4 Mon Sep 17 00:00:00 2001
From: ShihChi Huang <huge.huang+github@gmail.com>
Date: Sat, 27 Nov 2021 16:06:27 -0800
Subject: [PATCH] FIX: incompatible sass warning
---
styles/Asset.module.sass | 2 +-
styles/globals.sass | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/styles/Asset.module.sass b/styles/Asset.module.sass
index 87b5a14..518fc82 100644
--- a/styles/Asset.module.sass
+++ b/styles/Asset.module.sass
@@ -60,7 +60,7 @@
.mediaCell
display: flex
flex: 1
- max-height: fill-available
+ max-height: stretch
align-items: center
justify-content: center
diff --git a/styles/globals.sass b/styles/globals.sass
index 0e27340..f1a9af8 100644
--- a/styles/globals.sass
+++ b/styles/globals.sass
@@ -126,7 +126,7 @@ model-viewer
.modal-card-dialog
width: 100%
height: 100vh
- height: fill-available
+ height: stretch
max-height: unset
margin: 0
padding: 0
@@ -191,6 +191,6 @@ model-viewer
word-break: break-word
.frozen-scroll
- height: fill-available
+ height: stretch
height: 100vh
overflow: hidden
--
2.30.1 (Apple Git-130)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment