From cf0b72269cc96868d13030b81f6767dbad8b835b Mon Sep 17 00:00:00 2001 From: Codex Agent Date: Sun, 8 Mar 2026 18:41:13 +0000 Subject: [PATCH] Revert "Adjust exponent alignment" This reverts commit 723f93235677ea2301436a131d4e51f0dd543057. --- .../lib/components/ScientificNotationValue.svelte | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/hdyc-svelte/src/lib/components/ScientificNotationValue.svelte b/hdyc-svelte/src/lib/components/ScientificNotationValue.svelte index 70fee25..a42cf22 100644 --- a/hdyc-svelte/src/lib/components/ScientificNotationValue.svelte +++ b/hdyc-svelte/src/lib/components/ScientificNotationValue.svelte @@ -15,8 +15,7 @@ {scientific.base} - ×10 - {scientific.exponent} + ×10{scientific.exponent} {:else} @@ -34,15 +33,14 @@ } .scientific-suffix { - display: inline-block; + display: inline-flex; + align-items: baseline; + gap: 0.15rem; font-size: 0.85em; } - .scientific-exponent { - display: inline-block; + .scientific-suffix sup { font-size: 0.75em; - line-height: 1; vertical-align: super; - margin-left: 0.1rem; }