Skip to content

Commit

Permalink
Merge pull request #121 from bhumika-1127/editing
Browse files Browse the repository at this point in the history
recommended resources alignment wrt issue #106
  • Loading branch information
Aryainguz authored May 19, 2024
2 parents 3fba652 + 793415e commit dda9f87
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Public/styles/result.css
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,14 @@ body {
margin-bottom: 1rem; /* Add space below the header */
}

.resource-list{
display: flex;
flex-wrap: wrap;
}

.resource-card {
display: inline-block; /* Make cards appear side-by-side */
width: calc(20% - 1rem); /* Set width to 20% of available space with 1rem margin */
width: calc(40% - 1rem); /* Set width to 20% of available space with 1rem margin */
margin: 0.5rem; /* Add some margin between cards */
padding: 1rem; /* Add padding inside cards */
border: 1px solid #ddd; /* Add a thin border */
Expand Down

0 comments on commit dda9f87

Please sign in to comment.