Skip to content

Commit 52e964e

Browse files
trvrbvictorlin
authored andcommitted
Tweak showcase styles
This pushes the black text box up and to the left to leave more space for text.
1 parent c1780fd commit 52e964e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

static-site/src/components/Showcase/index.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,14 @@ export const CardInner = styled.div`
141141
export const CardTitle = styled.div<{$squashed: boolean}>`
142142
font-family: ${(props) => props.theme.generalFont};
143143
font-weight: 500;
144-
font-size: ${(props) => props.$squashed ? "22px" : "26px"};
144+
font-size: ${(props) => props.$squashed ? "21px" : "25px"};
145145
@media (max-width: 768px) {
146146
font-size: 22px;
147147
}
148148
position: absolute;
149149
border-radius: 3px;
150-
padding: 10px 20px 10px 20px;
151-
top: 40px;
150+
padding: 10px 20px 10px 10px;
151+
top: 15px;
152152
left: 20px;
153153
color: white;
154154
background: rgba(0, 0, 0, 0.7);

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

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

6363
<Styles.H1>
64-
Featured resources
64+
Featured analyses
6565
</Styles.H1>
6666

6767
<BigSpacer/>

0 commit comments

Comments
 (0)