slightly improve mobile style on top page

This commit is contained in:
Sean Yesmunt 2020-12-16 13:38:18 -05:00
parent 047e84ac8c
commit 77739c971a
3 changed files with 30 additions and 14 deletions

View file

@ -28,6 +28,7 @@ function TopPage(props: Props) {
defaultFreshness={FRESH_ALL}
defaultOrderBy={ORDER_BY_TOP}
meta={
<div className="search__top-links">
<I18nMessage
tokens={{
repost: (
@ -42,6 +43,7 @@ function TopPage(props: Props) {
>
%repost% %publish%
</I18nMessage>
</div>
}
includeSupportAction
renderProperties={claim => (

View file

@ -253,9 +253,14 @@
.claim-preview__actions {
align-self: flex-end;
display: flex;
flex-direction: column;
justify-content: space-between;
margin-top: auto;
width: 100%;
@media (min-width: $breakpoint-small) {
flex-direction: row;
}
}
.claim-preview__primary-actions {

View file

@ -35,3 +35,12 @@
margin-top: var(--spacing-s);
font-weight: var(--font-weight-body);
}
.search__top-links {
margin-bottom: 0;
margin-top: var(--spacing-xs);
@media (min-width: $breakpoint-small) {
margin-top: 0;
}
}