Skip to content

Commit

Permalink
feat(DEV-27): fix file format change
Browse files Browse the repository at this point in the history
  • Loading branch information
hhimanshu committed Jul 12, 2021
1 parent 5b047c6 commit 113550c
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 24 deletions.
5 changes: 4 additions & 1 deletion src/components/Starter/GithubUserDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ interface GithubUserDetailsProps {
userName: string;
}

export const GithubUserDetails = ({ name, userName }: GithubUserDetailsProps) => (
export const GithubUserDetails = ({
name,
userName,
}: GithubUserDetailsProps) => (
<div className={styles.userDetailsContainer}>
<div className={styles.userDetails}>
<h1>{name}</h1>
Expand Down
16 changes: 8 additions & 8 deletions src/components/Starter/GithubUserDetails/userDetails.module.css
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
.userDetailsContainer {
padding: 0;
padding: 0;
}

.userDetails {
display: flex;
flex-direction: column;
align-items: center;
display: flex;
flex-direction: column;
align-items: center;
}

.userDetails > h1,
h3 {
margin: 0;
margin: 0;
}

.userDetails > p {
color: var(--gray);
color: var(--gray);
}

.userDetailsContainer {
display: flex;
justify-content: center;
display: flex;
justify-content: center;
}
22 changes: 11 additions & 11 deletions src/components/Starter/Home/home.module.css
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
.homeContainer {
display: grid;
grid-template-rows: 1fr 10fr 1fr 1fr;
grid-template-columns: repeat(12, 1fr);
display: grid;
grid-template-rows: 1fr 10fr 1fr 1fr;
grid-template-columns: repeat(12, 1fr);
}

.githubCard {
background: var(--white);
display: grid;
grid-row-start: 2;
grid-column: 2 / 12;
background: var(--white);
display: grid;
grid-row-start: 2;
grid-column: 2 / 12;
}

.searchForm {
background: var(--white);
display: grid;
grid-row-start: 4;
grid-column: 2/12;
background: var(--white);
display: grid;
grid-row-start: 4;
grid-column: 2/12;
}
8 changes: 4 additions & 4 deletions src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ body {
}

:root {
--bg-color: #f3f4f6;
--white: #ffffff;
--black: #000000;
--gray: #777777;
--bg-color: #f3f4f6;
--white: #ffffff;
--black: #000000;
--gray: #777777;
}

0 comments on commit 113550c

Please sign in to comment.