UX: improves styling of similar topics results in composer (#7839)

This commit is contained in:
Joffrey JAFFEUX 2019-07-02 11:26:43 +02:00 committed by GitHub
parent 39e3162323
commit 1b45096aa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 13 deletions

View File

@ -57,6 +57,19 @@
}
}
.search-result-topic {
.second-line {
display: flex;
flex-wrap: wrap;
align-items: center;
.discourse-tags {
flex-wrap: wrap;
display: contents;
}
}
}
.main-results {
display: flex;
flex: 1 1 auto;
@ -253,17 +266,6 @@
.topic {
display: inline-block;
line-height: $line-height-medium;
.second-line {
display: flex;
flex-wrap: wrap;
align-items: center;
.discourse-tags {
flex-wrap: wrap;
display: contents;
}
}
}
.topic-title {

View File

@ -191,8 +191,23 @@
}
span.topic {
display: flex;
align-items: baseline;
flex-direction: column;
.first-line {
flex: 1;
}
.second-line {
display: flex;
flex-wrap: wrap;
align-items: center;
.discourse-tags {
flex-wrap: wrap;
display: contents;
font-size: $font-down-1;
}
}
}
}
}