Enable dual-device login and mobile APK update checks
This commit is contained in:
11
front/src/components/ui/card.test.tsx
Normal file
11
front/src/components/ui/card.test.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import assert from 'node:assert/strict';
|
||||
import test from 'node:test';
|
||||
import { renderToStaticMarkup } from 'react-dom/server';
|
||||
|
||||
import { Card } from './card';
|
||||
|
||||
test('Card applies the shared elevated shadow styling', () => {
|
||||
const html = renderToStaticMarkup(<Card>demo</Card>);
|
||||
|
||||
assert.match(html, /shadow-\[0_12px_32px_rgba\(15,23,42,0\.18\)\]/);
|
||||
});
|
||||
@@ -8,7 +8,7 @@ const Card = React.forwardRef<
|
||||
<div
|
||||
ref={ref}
|
||||
className={cn(
|
||||
"glass-panel rounded-2xl text-white shadow-sm",
|
||||
"glass-panel rounded-2xl text-white shadow-[0_12px_32px_rgba(15,23,42,0.18)]",
|
||||
className
|
||||
)}
|
||||
{...props}
|
||||
|
||||
Reference in New Issue
Block a user