This commit is contained in:
adueck 2024-12-17 21:11:42 -05:00
parent b3fff82766
commit c044cf233b
1 changed files with 9 additions and 5 deletions

View File

@ -20,10 +20,14 @@ export default function MinimalPairs({
{opened ? "▼" : "▶"} View Pairs {opened ? "▼" : "▶"} View Pairs
</h5> </h5>
<SmoothCollapse expanded={opened}> <SmoothCollapse expanded={opened}>
{section.pairs.map((pairs) => ( {section.pairs.map((pairs, i) => (
<div className="d-flex flex-row" style={{ gap: "1rem" }}> <div className="row mb-3" key={`${section.title}-${i}`}>
{pairs.map((e) => ( {pairs.map((e, j) => (
<PairItem entry={e} opts={opts} /> <PairItem
entry={e}
opts={opts}
key={`${section.title}-${i}-${j}`}
/>
))} ))}
</div> </div>
))} ))}
@ -40,7 +44,7 @@ function PairItem({
opts: T.TextOptions; opts: T.TextOptions;
}) { }) {
return ( return (
<div> <div className="col-sm">
<div className="mb-1"> <div className="mb-1">
<InlinePs <InlinePs
opts={opts} opts={opts}