mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 04:31:56 +08:00
Fixing some regressions for profile badges
This commit is contained in:
parent
70acfa47d7
commit
5e11bc79ff
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user