Skip to content

Commit 7a5fea2

Browse files
authored
Merge pull request #41 from fac-13/error-handling
use grid instead of flex
2 parents 0c54115 + aad37be commit 7a5fea2

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

public/style.css

+9-6
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ html {
66
}
77

88
body {
9-
display: flex;
10-
flex-direction: column;
9+
display: grid;
10+
/* flex-direction: column; */
1111
background: #ededed;
1212
margin: 0;
1313
align-items: center;
@@ -75,13 +75,16 @@ a{
7575
color: inherit;
7676
padding: 0.3rem 0.5rem;
7777
background: #fbfcfd;
78-
margin-bottom: 0.5rem;
78+
/* margin-bottom: 0.5rem; */
79+
margin: 0.5rem;
80+
border-radius: 10px;
7981
}
8082

8183
.section__results{
82-
display: flex;
83-
flex-direction: column;
84-
width: 90%;
84+
display: grid;
85+
/* width: 90%; */
86+
grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
87+
/* flex-direction: column */
8588
}
8689

8790
.article__img{

0 commit comments

Comments
 (0)