small fixes
This commit is contained in:
@@ -337,10 +337,11 @@ export function StandardFormExplorer() {
|
||||
<p className="text-sm text-muted">
|
||||
{totalSteps === 0
|
||||
? "Number is already in standard form position — power = 0"
|
||||
: `Step ${currentStep} of ${totalSteps}`}
|
||||
: `Step ${currentStep + 1} of ${totalSteps}`}
|
||||
</p>
|
||||
|
||||
{/* Digit row */}
|
||||
<div className="overflow-x-auto max-sm:pb-2">
|
||||
<div ref={numberRowRef} className="relative inline-flex items-end gap-2.5 px-4 pb-7 pt-2">
|
||||
{display.digits.map((ch, i) => {
|
||||
const isLeadingZero = i < fz && fz !== -1;
|
||||
@@ -372,6 +373,7 @@ export function StandardFormExplorer() {
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Direction label */}
|
||||
{dirText && (
|
||||
@@ -403,7 +405,7 @@ export function StandardFormExplorer() {
|
||||
{/* Controls */}
|
||||
<Card className="p-4">
|
||||
<StepControls
|
||||
currentStep={currentStep}
|
||||
currentStep={currentStep + 1}
|
||||
totalSteps={totalSteps}
|
||||
isPlaying={isPlaying}
|
||||
onStepForward={stepForward}
|
||||
|
||||
Reference in New Issue
Block a user