Skip to content

Commit 34ecbaf

Browse files
committed
fix styling
1 parent 50b407b commit 34ecbaf

1 file changed

Lines changed: 55 additions & 53 deletions

File tree

frontend/src/components/pages/status.tsx

Lines changed: 55 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -316,64 +316,66 @@ export const Status = () => {
316316
<Divider />{" "}
317317
</div>
318318
<Grid container spacing={3} style={{ marginTop: "0rem" }}>
319-
{ <Grid item xs={12} md={6} lg={3} xl={3}>
320-
<div
321-
style={{
322-
borderRadius: "1rem",
323-
boxShadow:
324-
"rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px",
325-
}}
326-
>
327-
<img
328-
src="https://i.imgur.com/3pU0Ycr.png"
329-
alt="discord"
319+
{
320+
<Grid item xs={12} md={6} lg={3} xl={3}>
321+
<div
330322
style={{
331-
width: "100%",
332-
height: "10rem",
333-
borderTopLeftRadius: "1rem",
334-
borderTopRightRadius: "1rem",
335-
objectFit: "cover",
323+
borderRadius: "1rem",
324+
boxShadow:
325+
"rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px",
336326
}}
337-
/>
338-
<div style={{ padding: "1rem" }}>
339-
<p
340-
style={{
341-
fontSize: "1.5rem",
342-
overflow: "hidden",
343-
whiteSpace: "nowrap",
344-
margin: "0rem",
345-
textOverflow: "ellipsis",
346-
}}
347-
>
348-
Join us on Discord
349-
</p>
350-
<p
327+
>
328+
<img
329+
src="https://i.imgur.com/3pU0Ycr.png"
330+
alt="discord"
351331
style={{
352-
minHeight: "4.5rem",
353-
overflow: "hidden",
354-
textOverflow: "ellipsis",
355-
display: "-webkit-box",
356-
WebkitLineClamp: 6,
357-
WebkitBoxOrient: "vertical",
332+
width: "100%",
333+
height: "10rem",
334+
borderTopLeftRadius: "1rem",
335+
borderTopRightRadius: "1rem",
336+
objectFit: "cover",
358337
}}
359-
>
360-
The discord is open to everyone. Use it to introduce yourself
361-
and tell us what you need (team members, ideas, hardware etc.)
362-
</p>
363-
<a
364-
href="https://discord.gg/hackaburg"
365-
target="_blank"
366-
style={{
367-
color: "black",
368-
textDecoration: "none",
369-
marginTop: "-1rem",
370-
}}
371-
>
372-
<Button>Join Discord</Button>
373-
</a>
338+
/>
339+
<div style={{ padding: "1rem" }}>
340+
<p
341+
style={{
342+
fontSize: "1.5rem",
343+
overflow: "hidden",
344+
whiteSpace: "nowrap",
345+
margin: "0rem",
346+
textOverflow: "ellipsis",
347+
}}
348+
>
349+
Join us on Discord
350+
</p>
351+
<p
352+
style={{
353+
minHeight: "4.5rem",
354+
overflow: "hidden",
355+
textOverflow: "ellipsis",
356+
display: "-webkit-box",
357+
WebkitLineClamp: 6,
358+
WebkitBoxOrient: "vertical",
359+
}}
360+
>
361+
The discord is open to everyone. Use it to introduce yourself
362+
and tell us what you need (team members, ideas, hardware etc.)
363+
</p>
364+
<a
365+
href="https://discord.gg/hackaburg"
366+
target="_blank"
367+
style={{
368+
color: "black",
369+
textDecoration: "none",
370+
marginTop: "-1rem",
371+
}}
372+
>
373+
<Button>Join Discord</Button>
374+
</a>
375+
</div>
374376
</div>
375-
</div>
376-
</Grid> }
377+
</Grid>
378+
}
377379
<Grid item xs={12} md={6} lg={3} xl={3}>
378380
<div
379381
style={{

0 commit comments

Comments
 (0)