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

View file

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