This commit is contained in:
parent
b3fff82766
commit
c044cf233b
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue