aboutsummaryrefslogtreecommitdiffstats
path: root/thallium-frontend/src
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-08-17 02:05:45 +0100
committerGravatar Joe Banks <[email protected]>2024-08-17 02:05:45 +0100
commit526d3fec79d182e327cb52b3db624b7f8d108b9d (patch)
tree40e23ade4408c7e66c0b03d0a68de6a052dfc198 /thallium-frontend/src
parentAdd react-router to main app (diff)
Update card styles
Diffstat (limited to 'thallium-frontend/src')
-rw-r--r--thallium-frontend/src/components/Card.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/thallium-frontend/src/components/Card.tsx b/thallium-frontend/src/components/Card.tsx
index 99c79a6..9aac6b2 100644
--- a/thallium-frontend/src/components/Card.tsx
+++ b/thallium-frontend/src/components/Card.tsx
@@ -13,13 +13,14 @@ const CardContainer = styled.div`
const CardTitle = styled.div`
position: absolute;
- top: -12px;
+ top: -16px;
left: 16px;
background-color: ${({ theme }) => theme.cardBackgroundColor};
background: linear-gradient(0deg, ${({ theme }) => theme.cardBackgroundColor} 0%, ${({ theme }) => theme.cardBackgroundColor} 45%, ${({ theme }) => theme.backgroundColor} 45%);
padding: 0 8px;
font-weight: bold;
z-index: 1;
+ font-size: 1.2em;
`;
interface CardProps {