Fix repost ribbon on search result page

This commit is contained in:
Raphael Wickihalder 2022-02-18 12:55:16 +01:00
parent 2d2edf986f
commit 09ee8829ed

View file

@ -190,8 +190,34 @@
.search__header { .search__header {
.claim-preview__wrapper--channel { .claim-preview__wrapper--channel {
.claim-preview__repost-author { .claim-preview__repost-author {
top: calc(var(--spacing-m) * -1); top: calc(var(--spacing-m) * -1) !important;
left: calc(var(--spacing-m) * -1); left: calc(var(--spacing-m) * -1) !important;
}
}
.claim-preview__wrapper {
.claim-preview__repost-author {
top: 0 !important;
left: 0 !important;
span {
display: inline-block;
margin-left: 12px;
margin-top: -4px;
width: 92px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
@media (max-width: $breakpoint-small) {
font-size: var(--font-xxxsmall);
.icon {
margin-top: 3px;
}
span {
width: 78px;
margin-top: 1px;
margin-left: 10px;
}
}
} }
} }
} }