浏览代码

fix: 100vh of container stops interaction on page

Owen Diffey 5 年之前
父节点
当前提交
81c37d77e8
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/index.css

+ 2 - 2
src/index.css

@@ -9,7 +9,7 @@ body {
 
 #toasts-container {
 	position: fixed;
-	height: 100vh;
+	height: auto;
 	display: flex;
 	flex-direction: column;
 	top: 20px;
@@ -55,4 +55,4 @@ body {
 	font-weight: 300;
 	width: var(--max-width);
 	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
-}
+}