css fix for about tab

This commit is contained in:
2026-03-28 15:19:27 -04:00
parent 252c0e09cb
commit 5c5f2b4050

View File

@@ -3,12 +3,15 @@ import { api } from '../utils/api.js';
const CLAUDE_URL = 'https://claude.ai'; const CLAUDE_URL = 'https://claude.ai';
// Render "Built With" value — separator trails its token so it never starts a new line // Render "Built With" value — each token+separator is a nowrap unit; the flex
// container wraps between tokens. Using display:flex (not inline) ensures Firefox
// and Safari honour the wrap at the flex-item level rather than computing the
// min-content width as the full un-broken string (which suppresses wrapping).
function BuiltWithValue({ value }) { function BuiltWithValue({ value }) {
if (!value) return null; if (!value) return null;
const parts = value.split('·').map(s => s.trim()); const parts = value.split('·').map(s => s.trim());
return ( return (
<span style={{ display: 'inline' }}> <span style={{ display: 'flex', flexWrap: 'wrap', alignItems: 'baseline', width: '100%' }}>
{parts.map((part, i) => ( {parts.map((part, i) => (
<span key={part} style={{ whiteSpace: 'nowrap' }}> <span key={part} style={{ whiteSpace: 'nowrap' }}>
{part === 'Claude.ai' {part === 'Claude.ai'