Skip to content

Commit 6b76a0a

Browse files
committed
Merge branch 'UIUX-33-Theme' of https://github.com/EngineersBox/NewsAggregator into UIUX-33-Theme
2 parents 92ea0cc + b768920 commit 6b76a0a

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

frontend_new/src/components/FrontPageInfo.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ export default function FrontPageInfo() {
2323
<Grid
2424
container
2525
justifyContent="center"
26-
alignItems="stretch"
26+
alignItems="center"
2727
direction="row"
2828
spacing={3}
2929
>
3030
<Grid item xs={12}></Grid>
31-
<Grid item xs={12}>
32-
<Box className={classes.paper}>
31+
<Grid item xs={12} lg={12}>
32+
<Box className={classes.paper} >
3333
{theme.palette.type === "dark" ? (<a href={"https://anu.jkl.io/"}><img style= {image_size} src={darkLogo} alt="Dark Logo"/></a>) :
34-
(<a href={"https://anu.jkl.io/"}><img style= {image_size} src={mainLogo} alt="Light Logo"/></a>)};
34+
(<a href={"https://anu.jkl.io/"}><img style= {image_size} src={mainLogo} alt="Light Logo"/></a>)}
3535

3636
</Box>
3737
</Grid>

frontend_new/src/components/Search.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,8 @@ function SearchInfo(props: props) {
9595
<Grid item xs={12}>
9696
{!query && <FrontPageInfo />}
9797
</Grid>
98-
9998
{query && (
10099
<Box className={classes.paper}>
101-
{" "}
102100
{theme.palette.type === "dark" ? (
103101
<a
104102
onClick={() => {

0 commit comments

Comments
 (0)