Skip to content

Commit bb138d8

Browse files
committed
auto re-render at window resize
1 parent 496171e commit bb138d8

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

‎src/components/Canvas/Description/SortingCanvasDescription.js‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,17 @@ const SortingCanvasDescription = ({ maxBarsToShowHeight }) => {
7373
<BoldParagraph text="Faster" />
7474
<NormalParagraph text="animation (skips some animations)" />{" "}
7575
</ul>
76-
<ul className="space-x-2 flex items-center">
76+
<ul className="space-x-2">
7777
<span className="mx-1 mr-[.3em] font-semibold text-[1.7em] dark:stroke-textGray text-textGray">
7878
H
7979
</span>
80-
<NormalParagraph text="Show bar" />
81-
<BoldParagraph text="Height" />
82-
<NormalParagraph text="(Input must be less than" />
83-
<BoldParagraph text={maxBarsToShowHeight} />
84-
<NormalParagraph text="bars)" />
80+
<div className="inline">
81+
<NormalParagraph text="Show bar " />
82+
<BoldParagraph text="Height " />
83+
<NormalParagraph text="(Input must be less than " />
84+
<BoldParagraph text={maxBarsToShowHeight} />
85+
<NormalParagraph text=")" />
86+
</div>
8587
</ul>
8688
</li>
8789
</div>

0 commit comments

Comments
 (0)