UX: impove badge granted spacing with grid (#24150)
This commit is contained in:
parent
3071535a14
commit
68728806c1
|
@ -228,11 +228,9 @@
|
|||
}
|
||||
|
||||
.badges-granted {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
@media screen and (max-width: $small-width) {
|
||||
justify-content: space-between;
|
||||
}
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(18em, 1fr));
|
||||
gap: 3em 2em;
|
||||
}
|
||||
|
||||
.container.badges {
|
||||
|
|
|
@ -1,15 +1,6 @@
|
|||
.user-info {
|
||||
&.medium {
|
||||
flex: 0 0 32%;
|
||||
margin: 0 2% 4vh 0;
|
||||
display: flex;
|
||||
&:nth-of-type(3n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
@media screen and (max-width: $small-width) {
|
||||
flex: 0 0 48%;
|
||||
margin-right: 0;
|
||||
}
|
||||
.user-image {
|
||||
width: 55px;
|
||||
margin-right: 0;
|
||||
|
|
Loading…
Reference in New Issue