Change popup sizing to rem

This commit is contained in:
Keannu Bernasol 2023-12-02 23:55:55 +08:00
parent 36a0111fe8
commit 48867a847c
2 changed files with 4 additions and 2 deletions

View file

@ -141,7 +141,7 @@ export default function EquipmentInstancesListPage() {
modal
position={"top center"}
contentStyle={{
width: "512px",
width: "32rem",
borderRadius: 16,
borderColor: "grey",
borderStyle: "solid",
@ -150,6 +150,7 @@ export default function EquipmentInstancesListPage() {
alignContent: "center",
justifyContent: "center",
textAlign: "center",
flexWrap: "wrap",
}}
>
<EditItemModal id={selectedItem} setOpen={SetEditModalOpen} />

View file

@ -141,7 +141,7 @@ export default function EquipmentListPage() {
modal
position={"top center"}
contentStyle={{
width: "512px",
width: "32rem",
borderRadius: 16,
borderColor: "grey",
borderStyle: "solid",
@ -150,6 +150,7 @@ export default function EquipmentListPage() {
alignContent: "center",
justifyContent: "center",
textAlign: "center",
flexWrap: "wrap",
}}
>
<EditSKUModal id={selectedItem} setOpen={SetEditModalOpen} />