Small style adjustments.
This commit is contained in:
parent
d20d0e87ec
commit
38f16606e8
2 changed files with 12 additions and 4 deletions
|
|
@ -277,7 +277,9 @@ $views-color: #545d70;
|
||||||
|
|
||||||
.post-avatar {
|
.post-avatar {
|
||||||
@extend .avatar;
|
@extend .avatar;
|
||||||
@extend .avatar-xl;
|
font-size: 1.6rem;
|
||||||
|
height: 2.5rem;
|
||||||
|
width: 2.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-main {
|
.post-main {
|
||||||
|
|
@ -563,14 +565,15 @@ hr {
|
||||||
|
|
||||||
.profile-icon {
|
.profile-icon {
|
||||||
@extend .tile-icon;
|
@extend .tile-icon;
|
||||||
|
margin-right: $control-padding-x;
|
||||||
}
|
}
|
||||||
|
|
||||||
.profile-avatar {
|
.profile-avatar {
|
||||||
@extend .avatar;
|
@extend .avatar;
|
||||||
@extend .avatar-xl;
|
@extend .avatar-xl;
|
||||||
|
|
||||||
height: 8.2rem;
|
height: 6.2rem;
|
||||||
width: 8.2rem;
|
width: 6.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.profile-content {
|
.profile-content {
|
||||||
|
|
@ -586,6 +589,7 @@ hr {
|
||||||
dl {
|
dl {
|
||||||
border-top: 1px solid $border-color;
|
border-top: 1px solid $border-color;
|
||||||
border-bottom: 1px solid $border-color;
|
border-bottom: 1px solid $border-color;
|
||||||
|
padding: $control-padding-x $control-padding-y;
|
||||||
}
|
}
|
||||||
|
|
||||||
dt {
|
dt {
|
||||||
|
|
@ -604,6 +608,10 @@ hr {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.profile-tabs {
|
||||||
|
margin-bottom: $control-padding-y-lg*2;
|
||||||
|
}
|
||||||
|
|
||||||
.profile-post {
|
.profile-post {
|
||||||
@extend .post;
|
@extend .post;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -106,7 +106,7 @@ when defined(js):
|
||||||
if currentUser.isSome():
|
if currentUser.isSome():
|
||||||
let user = currentUser.get()
|
let user = currentUser.get()
|
||||||
if user.name == profile.user.name or user.rank >= Moderator:
|
if user.name == profile.user.name or user.rank >= Moderator:
|
||||||
ul(class="tab"):
|
ul(class="tab profile-tabs"):
|
||||||
li(class=class(
|
li(class=class(
|
||||||
{"active": state.currentTab == Overview},
|
{"active": state.currentTab == Overview},
|
||||||
"tab-item"
|
"tab-item"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue