random tag: change to flexbox

This commit is contained in:
mehbark 2023-07-23 01:13:16 -04:00
parent b1f62577a1
commit 24c358f8f7

View file

@ -35,10 +35,7 @@ export const PseudoRandom = ({
<div
class="pseudo-random"
style={{
display: "grid",
gridTemplateColumns: `repeat(${
toChildArray(children).length * repeat
}, 1fr)`,
display: "flex",
backgroundColor: "#008282",
borderRadius: "0.5rem",
height: "3rem",
@ -57,7 +54,8 @@ export const Choice = ({ children }: { children: ComponentChildren }) => (
style={{
width: "100%",
height: "100%",
display: "inline-block",
display: "flex",
flex: 1,
cursor: "pointer",
}}
class="choice"