fix: blur footer URL for screenshots

This commit is contained in:
Aarnav Tale 2025-01-06 08:31:49 +05:30
parent 69783f0d05
commit b060700dfe
No known key found for this signature in database
2 changed files with 10 additions and 1 deletions

View File

@ -1,5 +1,6 @@
import { cn } from '~/utils/cn';
import Link from '~/components/Link';
import Tooltip from '~/components/Tooltip';
declare global {
const __VERSION__: string;
@ -33,7 +34,12 @@ export default function Footer({ url, debug }: FooterProps) {
<p className="container text-xs opacity-75">
Version: {__VERSION__}
{' | '}
Connecting to <strong>{url}</strong> {debug && '(Debug mode enabled)'}
Connecting to
{' '}
<strong className="blur-xs hover:blur-none">
{url}
</strong>
{debug && ' (Debug mode enabled)'}
</p>
</footer>
);

View File

@ -18,6 +18,9 @@ export default {
},
},
extend: {
blur: {
xs: '2px',
},
height: {
editor: 'calc(100vh - 20rem)',
},