From fcebf9ac101c5bee705457c261711773354f5a66 Mon Sep 17 00:00:00 2001 From: Dudley C Date: Wed, 8 Sep 2021 19:40:22 +0900 Subject: [PATCH] Item Details Grid Stuff --- src/TestPanel.js | 15 +++++++-------- src/style.css | 9 +-------- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/src/TestPanel.js b/src/TestPanel.js index fb2f146..46974c5 100644 --- a/src/TestPanel.js +++ b/src/TestPanel.js @@ -1,3 +1,4 @@ +import {PencilFill} from 'react-bootstrap-icons' import React, { useEffect,useState } from 'react'; import Modal from 'react-modal' import { DisplayIcon } from './DEFAULTS'; @@ -174,7 +175,7 @@ function ClassSelectorWindow(p) { } function GetSpecialWeaponName(item) { - return item[WEAPON_EXISTENCE_DATA]!==undefined?(item[WEAPON_EXISTENCE_DATA].special_name?.length>0)?item[WEAPON_EXISTENCE_DATA].special_name:(item[WEAPON_WEAPON].name+" "+item[WEAPON_WEAPONTYPE].name):<> + return item[WEAPON_EXISTENCE_DATA]!==undefined?(item[WEAPON_EXISTENCE_DATA].special_name?.length>0)?item[WEAPON_EXISTENCE_DATA].special_name:(item[WEAPON_WEAPON].name+" "+item[WEAPON_WEAPONTYPE].name):<>Select Weapon } function ConvertCoordinate(x,y) { @@ -513,13 +514,13 @@ useEffect(()=>{

Equipped Weapon

{GetSpecialWeaponName(selectedWeapon)}+40

- Edit Details + Edit Details {weaponPage === 1 ? <> -
+
{setWeaponSelectWindowOpen(true)}}> -

Edit

+

Edit

@@ -538,9 +539,8 @@ useEffect(()=>{
-
-

Edit

-
+
+

Edit

Soulspring Unit Lv.3
Fixa Attack Lv.3
@@ -555,7 +555,6 @@ useEffect(()=>{
-
diff --git a/src/style.css b/src/style.css index 92fd88c..a2dfee6 100644 --- a/src/style.css +++ b/src/style.css @@ -671,10 +671,6 @@ header a { background-color: rgba(25, 30, 35, 0.66) !important; margin: 10px 5px 0 auto !important; } -/*.pageControlDetails:before { - content: "\270E"; - padding-right: 5px; -}*/ .pageControlDetails:hover { background: linear-gradient(45deg,rgba(76,113,126,0.66),rgba(113,169,189,00.66)); outline: 2px solid hsl(180, 78%, 50%); @@ -1474,7 +1470,7 @@ p.adminNav hr { .equipWindow { min-height: 440px; } -.itemDetailsGrid { +.itemDetailsGridTop { display: grid; grid-template-areas: "icon properties"; @@ -1518,9 +1514,6 @@ p.adminNav hr { .editOverlayWrapper:hover .editOverlay { display: flex; } -.editOverlay > p > span { - font-family: "Segoe UI Symbol"; -} .itemDetailsProperties { margin: 0 0 0 10px; grid-area: properties;