feat: add verification badge sizing documentation

- Documented the behavior of `RouteBadge` and `NumericText` after animation changes.
- Addressed width issues for numbers `2` and `6` post-animation.
- Updated `ResizeObserver` to monitor number badge resizing.
- Fixed scaling for short numbers and ensured proper transitions.
- Verified functionality across different browser sizes and builds.
This commit is contained in:
2026-10-09 02:55:51 +03:00
parent f4ea47f2ae
commit bc95d0c122
6 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
export default defineConfig({ plugins: [react()], base: '/__visual-badge/', build: { outDir: 'dist/__visual-badge', rollupOptions: { input: 'artifacts/badge-preview.html' } } });