Review: fix styles

This commit is contained in:
Raphael Beer 2020-04-09 23:39:47 +02:00
parent 2c7ca87acc
commit b3f1137006
No known key found for this signature in database
GPG Key ID: C1AC5E018B25EF11
2 changed files with 12 additions and 10 deletions

View File

@ -240,6 +240,7 @@ $size-height-base: 42px;
$size-height-large: 50px;
$size-height-xlarge: 60px;
$size-height-footer: 64px;
$size-height-connections: 300px;
$size-tappable-square: 44px;
$size-ribbon: 6px;

View File

@ -124,18 +124,19 @@ export default {
display: flex;
flex-direction: column;
position: relative;
//max-height: ($size-avatar-small + $space-x-small * 2) * 8;
width: auto;
> .title {
color: $text-color-soft;
font-size: $font-size-small + 0.03rem;
font-size: $font-size-base;
}
.connections.--overflow {
height: ($size-avatar-base + $space-x-small * 2) * 5;
margin-top: -$space-x-small;
overflow-y: auto;
.connections {
height: $size-height-connections;
&.--overflow {
overflow-y: auto;
}
}
.nobody-message {
@ -143,12 +144,12 @@ export default {
color: $text-color-soft;
}
> :nth-child(n):not(:last-child) {
> :nth-child(n):not(:last-child) {
margin-bottom: $space-small;
}
}
.user-teaser {
.user-teaser {
margin-bottom: $space-x-small;
}
}
}
</style>