From fba00601a297d4f28b13588b7e4c84c13d110088 Mon Sep 17 00:00:00 2001 From: dudleycu Date: Wed, 1 Sep 2021 23:24:11 +0000 Subject: [PATCH] css --- src/TestPanel.js | 7 +++++-- src/style.css | 20 ++++++-------------- 2 files changed, 11 insertions(+), 16 deletions(-) diff --git a/src/TestPanel.js b/src/TestPanel.js index 8820990..3e46500 100644 --- a/src/TestPanel.js +++ b/src/TestPanel.js @@ -748,9 +748,12 @@ useEffect(()=>{ } }} displayFunction={(item)=>{ - return
  • {setSelectedWeapon(item);setWeaponSelectWindowOpen(false)}}>
    {GetSpecialWeaponName(item)}

    {item[WEAPON_WEAPON].atk} {item[WEAPON_POTENTIAL_TOOLTIP].map((pot,i)=>{(i!==0)&&
    }{pot.name}: {pot.description?pot.description.split("\\n").map((it,ii)=>{it}
    ):})}}> + return
    {GetSpecialWeaponName(item)}
     
    {item[WEAPON_WEAPON].atk} + + {item[WEAPON_POTENTIAL_TOOLTIP].map((pot,i)=>{(i!==0)&&
    }{pot.name}: {pot.description?pot.description.split("\\n").map((it,ii)=>{it}
    ):})}}> + {item[WEAPON_POTENTIAL].name} -
  • }} + }} /> span:nth-child(odd) { background-color: rgba(113,169,189,0.33); cursor: pointer; + min-width: 26px; } .itemControlsWrapper > span:nth-child(odd):hover { background-color: rgba(113,169,189,0.33); @@ -582,10 +572,11 @@ li.selected:hover { } .itemControlsWrapper > span:nth-child(2) { background-color:rgba(0,0,0,0.33); + min-width: 26px; } .itemControlsWrapper > span { display:inline-block; - padding: 5px 10px; + padding: 5px 0; text-align: center; margin: 0 0 0 5px; } @@ -1481,7 +1472,7 @@ p.adminNav hr { top:16px; } .equipWindow { - height: 440px; + min-height: 440px; } .itemDetailsGrid { display: grid; @@ -1528,8 +1519,9 @@ p.adminNav hr { .itemDetailsAugmentWrapper { margin: 10px 0 0 0; display: grid; - grid-template-columns: repeat(auto-fit,minmax(100px,200px)); + grid-template-columns: repeat(2,minmax(125px, 1fr)); gap: 10px 30px; + } .itemDetailsAugmentWrapper > div { background-color:rgba(0,0,0,0.33);