File tree 1 file changed +8
-13
lines changed
client/src/components/base
1 file changed +8
-13
lines changed Original file line number Diff line number Diff line change @@ -104,28 +104,23 @@ export default {
104
104
}
105
105
106
106
.collectionView-wrapper-ul {
107
- display : flex ;
108
- flex-direction : row ;
109
- justify-content : flex-start ;
110
- flex-wrap : wrap ;
107
+ display : grid ;
108
+ grid-template-columns : repeat (auto-fill , minmax (264px , 1fr ));
109
+ gap : 20px ;
110
+ padding : 0 ;
111
+ width : 100% ;
111
112
}
112
113
113
114
.collectionView-wrapper .itemWrapper {
114
115
position : relative ;
115
116
padding-bottom : 24px ;
116
117
background-color : white ;
117
- margin-top : 20px ;
118
- width : 264px ;
118
+ width : 100% ;
119
+ max-width : 264px ;
120
+ margin : 0 auto ;
119
121
text-align : center ;
120
122
border-radius : 4px ;
121
123
transition : 0.5s ;
122
- margin-right : 2.6% ;
123
- /* &:nth-child(2n-1) {*/
124
- /* margin-right: 2.6%;*/
125
- /* }*/
126
- /* &:nth-child(4n-2) {*/
127
- /* margin-right: 2.6%;*/
128
- /* }*/
129
124
}
130
125
131
126
.itemWrapper :hover {
You can’t perform that action at this time.
0 commit comments