From d3cfb8f01d9ba4b38fcc455d6040c48e5e8288b2 Mon Sep 17 00:00:00 2001 From: Joshua Sigona Date: Sun, 8 Aug 2021 00:26:33 +0900 Subject: [PATCH] Baseline Modal Co-authored-by: dudleycu --- src/TestPanel.js | 2 +- src/style.css | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/TestPanel.js b/src/TestPanel.js index 1cf3555..268fcf1 100644 --- a/src/TestPanel.js +++ b/src/TestPanel.js @@ -430,7 +430,7 @@ useEffect(()=>{ -
+
  • Primm Rifle
    177 Recycler UnitLv.4: Potency +24%/
    20% chance of Restasigne not being consumed on use. Effect starts 10 sec after equip
  • Tzvia Rifle
    195 Indomitable UnitLv.4: Potency +26%/
    All Down Resistances +20%
  • diff --git a/src/style.css b/src/style.css index ef2fcc5..9e83a40 100644 --- a/src/style.css +++ b/src/style.css @@ -950,6 +950,8 @@ button{ flex-basis: 200px; max-width: 580px; outline: 0; + height: 95vh; + margin: 0 10px; } .modalOverlay { position: fixed; @@ -957,14 +959,19 @@ button{ left: 0; right: 0; bottom: 0; - background: rgba(0,0,0,.80); - + background: rgba(0,0,0,.9); display: flex; flex-flow: row wrap; justify-content: center; } .boxModal { - +} +.modalItemListContainer { + overflow-y: auto; + overflow-x: hidden; + margin: 10px 5px 0 0; + padding: 2px; + max-height: calc(90vh - 115px); } .webicon{ color:maroon;