diff --git a/src/TestPanel.js b/src/TestPanel.js index 3aa3e10..83f5128 100644 --- a/src/TestPanel.js +++ b/src/TestPanel.js @@ -119,8 +119,13 @@ function EditableClass(p){ function PopupWindow(p) { return {p.setModalOpen(false)}} shouldFocusAfterRender={true} shouldCloseOnOverlayClick={true} shouldCloseOnEsc={true} className="modal" overlayClassName="modalOverlay"> -

{p.title}{p.showCloseButton&&{p.setModalOpen(false)}} className="modalCloseButton"/>}

- {p.children} +
+
+

{p.title}

+{p.showCloseButton&&
{p.setModalOpen(false)}}>
} +
+{p.children} +
} @@ -162,9 +167,7 @@ useEffect(()=>{ //console.log(p.GetData("class",p.className,"icon")) - return ( //Futasuke is a genius - - <> + return (<>
@@ -255,23 +258,42 @@ useEffect(()=>{

Abilitiy Details

-
    -
  • } tooltip={<>Potency +20%/
    Critical Hit Rage +15% for 30 seconds after a successful sidestep}/>Dynamo Unit Lv.3
  • -
  • } tooltip={<>Potency +4%}/>Fixa Attack Lv.3
  • -
  • } tooltip={<>PP +5
    Ranged Weapon Potency +2.0%}/>Pettas Soul II
  • -
  • } tooltip={<>HP -10, Potency +1.5%,
    Potency Floor Increase +1.5%
    Damage Resistance -1.5%}/>Alts Secreta II
  • -
  • } tooltip={<>HP +10
    Ranged Weapon Potency +2.0%}/>Gigas Precision II
  • -
  • } tooltip={<>Ranged Weapon Potency +2.0%}/>Precision III
  • -
  • +{weaponPage===1? +
      +
    • } tooltip={<>Potency +20%/
      Critical Hit Rage +15% for 30 seconds after a successful sidestep}/>Dynamo Unit Lv.3
    • +
    • } tooltip={<>Potency +4%}/>Fixa Attack Lv.3
    • +
    • } tooltip={<>PP +5
      Ranged Weapon Potency +2.0%}/>Pettas Soul II
    • +
    • } tooltip={<>HP -10, Potency +1.5%,
      Potency Floor Increase +1.5%
      Damage Resistance -1.5%}/>Alts Secreta II
    • +
    • } tooltip={<>HP +10
      Ranged Weapon Potency +2.0%}/>Gigas Precision II
    • +
    • } tooltip={<>Ranged Weapon Potency +2.0%}/>Precision III
    • +
    • +
    +: +
      +
    • +
    • +
    • +
    • +
    • +
    • +
    +}

Properties

-
    -
  • Enhancement Lv. +35
  • -
  • Multi-Weapon -
  • -
  • Element -
  • -
+{weaponPage===1? +
    +
  • Enhancement Lv. +35
  • +
  • Multi-Weapon -
  • +
  • Element -
  • +
: +
    +
  • Enhancement Lv. -
  • +
  • Multi-Weapon -
  • +
  • Element -
  • +
+}
@@ -336,35 +358,91 @@ useEffect(()=>{
- - - - - - - - - - - - - - - - - - - - + {statPage===1?<> + + + + + + + + + + + + + + + + + + + + + :<> + + + + + + + + + + + + + + + + + + + + + + }
Critical Hit Rate5%
Critical Multiplier120%
Midrange126
Critcal152
Effective127
Critical Hit Rate5%
Critical Multiplier120%
Midrange126
Critcal152
Effective127
Critical Hit Rate-
Critical Multiplier-
Midrange-
Critcal-
Effective-
-Modal content goes here. + + +
+
+ +
+
+ +
+
+
+ +
+
- ) - } +) +} export default TestPanel; \ No newline at end of file diff --git a/src/style.css b/src/style.css index e0e30d1..b7a00a6 100644 --- a/src/style.css +++ b/src/style.css @@ -943,12 +943,15 @@ button{ } .modal { position: absolute; - top: 40px; - left: 40px; - right: 40px; - bottom: 40px; + top: 0; + left: 0; + right: 0; + bottom: 0; background-color: papayawhip; outline: 0; + display: flex; + flex-flow: row wrap; + justify-content: center; } .modalOverlay { position: fixed;