Don't center content on Desktop

Suggestions from @pixeldesu's review

Co-authored-by: Andreas Nedbal <andy@pixelde.su>
This commit is contained in:
Dominik M. Kwiatek 2020-05-29 22:00:25 +01:00 committed by Andreas Nedbal
parent ee947f2428
commit abf78d4f49
9 changed files with 9 additions and 9 deletions

View File

@ -9,6 +9,6 @@
- if @more_data_available
.d-flex.justify-content-center
.d-flex.justify-content-center.justify-content-sm-start
%button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @inbox_last_id } }
= t 'views.actions.load'

View File

@ -5,7 +5,7 @@
= render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @timeline_last_id
- if @more_data_available
.d-flex.justify-content-center
.d-flex.justify-content-center.justify-content-sm-start
%button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @timeline_last_id } }
= t 'views.actions.load'

View File

@ -19,6 +19,6 @@
= render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @notifications_last_id, permitted_params: %i[type]
- if @more_data_available
.d-flex.justify-content-center
.d-flex.justify-content-center.justify-content-sm-start
%button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @notifications_last_id } }
= t 'views.actions.load'

View File

@ -5,7 +5,7 @@
= render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @timeline_last_id
- if @more_data_available
.d-flex.justify-content-center
.d-flex.justify-content-center.justify-content-sm-start
%button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @timeline_last_id } }
= t 'views.actions.load'

View File

@ -9,7 +9,7 @@
= render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @answers_last_id
- if @more_data_available
.d-flex.justify-content-center
.d-flex.justify-content-center.justify-content-sm-start
%button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @answers_last_id } }
= t 'views.actions.load'

View File

@ -5,7 +5,7 @@
= render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @timeline_last_id
- if @more_data_available
.d-flex.justify-content-center
.d-flex.justify-content-center.justify-content-sm-start
%button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @timeline_last_id } }
= t 'views.actions.load'

View File

@ -5,7 +5,7 @@
= render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @questions_last_id
- if @more_data_available
.d-flex.justify-content-center
.d-flex.justify-content-center.justify-content-sm-start
%button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @questions_last_id } }
= t 'views.actions.load'

View File

@ -6,7 +6,7 @@
= render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @answers_last_id
- if @more_data_available
.d-flex.justify-content-center
.d-flex.justify-content-center.justify-content-sm-start
%button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @answers_last_id } }
= t 'views.actions.load'

View File

@ -6,7 +6,7 @@
= render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @users_last_id
- if @more_data_available
.d-flex.justify-content-center
.d-flex.justify-content-center.justify-content-sm-start
%button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @users_last_id } }
= t 'views.actions.load'