1
0
mirror of https://github.com/NicolasConstant/sengi synced 2025-01-29 17:59:30 +01:00

fix display status in search

This commit is contained in:
Nicolas Constant 2019-02-19 21:44:09 -05:00
parent ad4f6406b0
commit c77c554629
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
4 changed files with 11 additions and 4 deletions

View File

@ -32,7 +32,8 @@
<div class="search-results__status" *ngFor="let statusWrapper of statuses">
<app-status [statusWrapper]="statusWrapper"
(browseAccountEvent)="browseAccount($event)"
(browseHashtagEvent)="browseHashtag($event)"></app-status>
(browseHashtagEvent)="browseHashtag($event)"
(browseThreadEvent)="browseThread($event)"></app-status>
</div>
</div>
</div>

View File

@ -56,7 +56,8 @@
}
}
&__status {
&__status {
font-size: 15px;
border-top: 1px solid $separator-color;
&:last-of-type {
border-bottom: 1px solid $separator-color;

View File

@ -5,7 +5,9 @@
<!-- data-simplebar -->
<div class="stream-toots__status" *ngFor="let statusWrapper of statuses">
<app-status [statusWrapper]="statusWrapper" (browseAccountEvent)="browseAccount($event)" (browseHashtagEvent)="browseHashtag($event)"
<app-status [statusWrapper]="statusWrapper"
(browseAccountEvent)="browseAccount($event)"
(browseHashtagEvent)="browseHashtag($event)"
(browseThreadEvent)="browseThread($event)"></app-status>
</div>
</div>

View File

@ -1,7 +1,10 @@
.panel{
width: 100%;
// width: 100%;
width: calc(100%);
height: calc(100%);
padding: 10px 10px 0 7px;
font-size: $small-font-size;
white-space: normal;
&__title {
font-size: 13px;
text-transform: uppercase;