Fixing some regressions for profile badges

This commit is contained in:
Kris 2018-03-02 14:43:54 -05:00
parent 70acfa47d7
commit 5e11bc79ff
4 changed files with 21 additions and 1 deletions

View File

@ -285,6 +285,13 @@
display: flex;
align-items: center;
width: 100%;
@media screen and (max-width: 500px) {
flex-wrap: wrap;
}
div:not(.grant-info-item) {
display: flex;
}
&.hidden {
display: none;
}
@ -292,6 +299,9 @@
.grant-info-item {
margin-bottom: 1em;
color: dark-light-choose($primary-medium, $secondary-medium);
&:first-of-type {
margin-right: 10px;
}
}
.badge-title .form-horizontal .controls {

View File

@ -384,11 +384,16 @@
.top-section,
.top-sub-section {
margin-bottom: 20px;
&.badges-section {
display: flex;
flex-wrap: wrap;
}
}
.stats-title {
text-transform: uppercase;
margin-bottom: 10px;
width: 100%;
}
.stats-section {

View File

@ -1,7 +1,7 @@
.user-info {
&.medium {
flex: 0 0 32%;
margin-right: 2%;
margin: 0 2% 4vh 0;
display: flex;
&:nth-of-type(3n) {
margin-right: 0;

View File

@ -75,6 +75,11 @@
margin-bottom: 10px;
box-sizing: border-box;
&.user-badges-list {
display: flex;
flex-wrap: wrap;
}
.btn.right {
float: right
}