Skip to content

Commit 4bc2acc

Browse files
committed
Tweak showcase styles
This pushes the black text box up and to the left to leave more space for text.
1 parent 9f72478 commit 4bc2acc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

static-site/src/components/Cards/styles.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ export const CardOuter = styled.div<{$squashed: boolean}>`
4141
export const CardTitle = styled.div<{$squashed: boolean}>`
4242
font-family: ${(props) => props.theme.generalFont};
4343
font-weight: 500;
44-
font-size: ${(props) => props.$squashed ? "22px" : "26px"};
44+
font-size: ${(props) => props.$squashed ? "21px" : "25px"};
4545
@media (max-width: 768px) {
4646
font-size: 22px;
4747
}
4848
position: absolute;
4949
border-radius: 3px;
50-
padding: 10px 20px 10px 20px;
51-
top: 40px;
50+
padding: 10px 20px 10px 10px;
51+
top: 15px;
5252
left: 20px;
5353
color: white;
5454
background: rgba(0, 0, 0, 0.7);

static-site/src/components/splash/index.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const Splash = () => {
6262
<HugeSpacer/>
6363

6464
<Styles.H1>
65-
Featured resources
65+
Featured analyses
6666
</Styles.H1>
6767

6868
<BigSpacer/>

0 commit comments

Comments
 (0)