浏览代码

hotfix: Fixed the overflowing of ability and trait modals

Warafear 11 月之前
父节点
当前提交
a962bab9d5

+ 13 - 1
src/app/journal/journal-stats/ability-panel/ability-table/ability-table.component.scss

@@ -1,9 +1,21 @@
+@import "../../../../../responsive";
+
 .ability-box {
   height: 100%;
 }
 
 .item-list {
-  height: calc(100% - 5rem);
+  height: 572px;
+
+  @include height-small {
+    height: 642px;
+  }
+  @include height-medium {
+    height: 709px;
+  }
+  @include height-large {
+    height: 787px;
+  }
 }
 
 .item {

+ 13 - 1
src/app/journal/journal-stats/ability-panel/trait-table/trait-table.component.scss

@@ -1,3 +1,5 @@
+@import "../../../../../responsive";
+
 .trait-box {
   height: 100%;
 }
@@ -9,7 +11,17 @@
 }
 
 .item-list {
-  height: calc(100% - 5rem);
+  height: 572px;
+
+  @include height-small {
+    height: 642px;
+  }
+  @include height-medium {
+    height: 709px;
+  }
+  @include height-large {
+    height: 787px;
+  }
 }
 
 .item {