diff --git a/app/javascript/styles/stream_entries.scss b/app/javascript/styles/stream_entries.scss index e89cc3f09019f59e72d90c2e65817bdadb468dcb..3856942e17f3fee9e002d5a3871f13d62ca2d6a9 100644 --- a/app/javascript/styles/stream_entries.scss +++ b/app/javascript/styles/stream_entries.scss @@ -36,6 +36,18 @@ } } + &.with-header { + .entry { + &:first-child { + &, + .detailed-status.light, + .status.light { + border-radius: 0; + } + } + } + } + .status.light { padding: 14px 14px 14px (48px + 14px * 2); position: relative; diff --git a/app/views/accounts/show.html.haml b/app/views/accounts/show.html.haml index 7ed634e5d28e7c90a166d8a85672542ba1ff3025..150c14791168bc9174b5fee8b722e1027616d9d6 100644 --- a/app/views/accounts/show.html.haml +++ b/app/views/accounts/show.html.haml @@ -23,9 +23,9 @@ .accounts-grid = render 'nothing_here' - else - .activity-stream + .activity-stream.with-header = render partial: 'stream_entries/status', collection: @statuses, as: :status - .pagination - - if @statuses.size == 20 + - if @statuses.size == 20 + .pagination = link_to safe_join([t('pagination.next'), fa_icon('chevron-right')], ' '), short_account_url(@account, max_id: @statuses.last.id), class: 'next', rel: 'next'