Skip to content

Commit

Permalink
Merge pull request #3 from answer-huang/feat/update_server
Browse files Browse the repository at this point in the history
feat: update style
  • Loading branch information
answer-huang authored Jan 13, 2025
2 parents a3a286f + 1db1cbf commit abdbcb8
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions client/src/components/base/collectionView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,28 +104,23 @@ export default {
}
.collectionView-wrapper-ul {
display: flex;
flex-direction: row;
justify-content: flex-start;
flex-wrap: wrap;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(264px, 1fr));
gap: 20px;
padding: 0;
width: 100%;
}
.collectionView-wrapper .itemWrapper {
position: relative;
padding-bottom: 24px;
background-color: white;
margin-top: 20px;
width: 264px;
width: 100%;
max-width: 264px;
margin: 0 auto;
text-align: center;
border-radius: 4px;
transition: 0.5s;
margin-right: 2.6%;
/*&:nth-child(2n-1) {*/
/*margin-right: 2.6%;*/
/*}*/
/*&:nth-child(4n-2) {*/
/*margin-right: 2.6%;*/
/*}*/
}
.itemWrapper:hover {
Expand Down

0 comments on commit abdbcb8

Please sign in to comment.