Better Flex
This commit is contained in:
+4
-1
@@ -37,6 +37,7 @@ export default function StartForm(p) {
|
|||||||
borderRadius: 15,
|
borderRadius: 15,
|
||||||
boxShadow: "0 0 5px gray",
|
boxShadow: "0 0 5px gray",
|
||||||
display: "flex",
|
display: "flex",
|
||||||
|
maxWidth: "40vw",
|
||||||
flexDirection: "column",
|
flexDirection: "column",
|
||||||
justifyContent: "space-around",
|
justifyContent: "space-around",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
@@ -86,6 +87,7 @@ export default function StartForm(p) {
|
|||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
alignContent: "center",
|
alignContent: "center",
|
||||||
justifyItems: "center",
|
justifyItems: "center",
|
||||||
|
flexWrap: "wrap",
|
||||||
gap: 5
|
gap: 5
|
||||||
}}>
|
}}>
|
||||||
{saves.map(e => (
|
{saves.map(e => (
|
||||||
@@ -97,7 +99,8 @@ export default function StartForm(p) {
|
|||||||
justifyContent: "center",
|
justifyContent: "center",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
textAlign: "center",
|
textAlign: "center",
|
||||||
flexDirection: "column"
|
flexDirection: "column",
|
||||||
|
minWidth: 80,
|
||||||
}} onClick={(f) => {
|
}} onClick={(f) => {
|
||||||
if(f.target === f.currentTarget) {
|
if(f.target === f.currentTarget) {
|
||||||
p.onLoadIn(e.content, e.id)
|
p.onLoadIn(e.content, e.id)
|
||||||
|
|||||||
Reference in New Issue
Block a user