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

View File

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

View File

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

View File

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