From e3d2200555ed9495e2732c15914ec5243214e2a7 Mon Sep 17 00:00:00 2001 From: dudleycu Date: Fri, 13 Aug 2021 00:18:02 +0900 Subject: [PATCH] layout stuff and time for Bof5 --- src/TestPanel.js | 14 +++++++++----- src/style.css | 29 +++++++++++++++++++++-------- 2 files changed, 30 insertions(+), 13 deletions(-) diff --git a/src/TestPanel.js b/src/TestPanel.js index f429b91..1b8ece3 100644 --- a/src/TestPanel.js +++ b/src/TestPanel.js @@ -246,8 +246,8 @@ useEffect(()=>{ - {setClassSkillTreeWindowOpen(true)}} > - Sub-Class + + {setClassSkillTreeWindowOpen(true)}}>Sub-Class @@ -505,13 +505,13 @@ AUGMENT ez pz -{setClassSkillTreeWindowOpen(false)}} shouldFocusAfterRender={true} shouldCloseOnOverlayClick={true} shouldCloseOnEsc={true} className="modal" overlayClassName="modalOverlaySkillTree"> +{setClassSkillTreeWindowOpen(false)}} shouldFocusAfterRender={true} shouldCloseOnOverlayClick={true} shouldCloseOnEsc={true} className="modalSkillTree" overlayClassName="modalOverlaySkillTree">

Class Skill Tree

-
+
{setClassSkillTreeWindowOpen(false)}}>
    @@ -528,7 +528,7 @@ AUGMENT

    Ranger01

    -
    +
    {setClassSkillTreeWindowOpen(false)}}>
    @@ -544,6 +544,10 @@ AUGMENT
    0/1Launcher Charge Grouping
    0/1Slow Landing Attack-Ranger
    0/1Slow Landing Charge-Ranger
    +
    0/1Slow Landing Charge-Ranger
    +
    0/1Slow Landing Charge-Ranger
    + +
    Your Skill Points  6   SP    0
    diff --git a/src/style.css b/src/style.css index 4d4a4a7..a355a61 100644 --- a/src/style.css +++ b/src/style.css @@ -582,7 +582,7 @@ li.r4 { vertical-align: middle; } .pageControlDetails { - background-color: rgba(24, 36, 48, 0.66) !important; + background-color: rgba(25, 30, 35, 0.66) !important; } .selected { background: linear-gradient(135deg,#60461b,#b0a34e); @@ -690,12 +690,14 @@ option { margin: 10px 10px 0 10px; } .treeSelectBox { - min-width: 150px; + flex: 0 1 auto; + margin: 0 10px 0 0; + align-self: flex-start; } .treeList { padding: 0 2px; } -.treelist li { +.treeList li { background-color: rgba(128,128,128,0.33); color: white; margin: 5px 0 0 0; @@ -715,20 +717,24 @@ li.treeListSub { margin-right: 5px; } .skillTreeBox { - max-width: 1108px; + flex: 1 3 1108px; + margin: 0; + min-width: 171px; + min-height: auto; } .skillTreeContainer { - max-height: 400px; + overflow-x: auto; overflow-y: scroll; margin: 10px 5px 0 10px; padding: 2px; -webkit-overflow-scrolling: touch; -} + max-height: calc(90vh - 150px); +}/* @media screen and (min-width:390px) and (max-width:860px) { .skillTreeContainer { max-height: 300px; } -} +}*/ .skillTreeGrid { display: grid; grid-template-columns: repeat(6, 171px); @@ -983,7 +989,14 @@ button{ outline: 0; grid-column: 2; grid-row: 2; - } +} +.modalSkillTree { + outline: 0; + grid-column: 2; + grid-row: 2; + display: flex; + flex-flow: row nowrap; +} .boxModal { animation: fadeIn 0.15s; max-width: 580px;