소스 검색

Fix oddities with public profile CSS (#4341)

* Fix oddities with public profile CSS

* Remove trailing whitespace
master
Eugen Rochko 6 년 전
committed by GitHub
부모
커밋
1306d637a2
2개의 변경된 파일15개의 추가작업 그리고 3개의 파일을 삭제
  1. +12
    -0
      app/javascript/styles/stream_entries.scss
  2. +3
    -3
      app/views/accounts/show.html.haml

+ 12
- 0
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;


+ 3
- 3
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'

불러오는 중...
취소
저장