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-large: 50px;
$size-height-xlarge: 60px; $size-height-xlarge: 60px;
$size-height-footer: 64px; $size-height-footer: 64px;
$size-height-connections: 300px;
$size-tappable-square: 44px; $size-tappable-square: 44px;
$size-ribbon: 6px; $size-ribbon: 6px;

View File

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