Fix mobile pagination for notifications view
Fix syntax Fix syntax closes #6364
This commit is contained in:
parent
78e183738e
commit
110284626a
3 changed files with 8 additions and 2 deletions
|
|
@ -20,6 +20,7 @@
|
||||||
* Links in the left sidebar are now clickable on full width [#6267](https://github.com/diaspora/diaspora/pull/6267)
|
* Links in the left sidebar are now clickable on full width [#6267](https://github.com/diaspora/diaspora/pull/6267)
|
||||||
* Guard against passing nil into person\_image\_tag [#6286](https://github.com/diaspora/diaspora/pull/6286)
|
* Guard against passing nil into person\_image\_tag [#6286](https://github.com/diaspora/diaspora/pull/6286)
|
||||||
* Prevent Handlebars from messing up indentation of pre tags [#6339](https://github.com/diaspora/diaspora/pull/6339)
|
* Prevent Handlebars from messing up indentation of pre tags [#6339](https://github.com/diaspora/diaspora/pull/6339)
|
||||||
|
* Fix pagination design on notifications page [#6364](https://github.com/diaspora/diaspora/pull/6364)
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -849,7 +849,7 @@ form#new_user.new_user input.btn {
|
||||||
text-shadow: 1px 1px 20px rgb(126, 240, 77);
|
text-shadow: 1px 1px 20px rgb(126, 240, 77);
|
||||||
}
|
}
|
||||||
|
|
||||||
#conversation_inbox {
|
#conversation_inbox, .notifications {
|
||||||
.pagination {
|
.pagination {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
|
|
|
||||||
|
|
@ -21,4 +21,9 @@
|
||||||
.time_notif
|
.time_notif
|
||||||
= timeago(note.created_at)
|
= timeago(note.created_at)
|
||||||
|
|
||||||
= will_paginate @notifications, :renderer => WillPaginate::ActionView::BootstrapLinkRenderer
|
= will_paginate @notifications,
|
||||||
|
previous_label: "«",
|
||||||
|
next_label: "»",
|
||||||
|
inner_window: 1,
|
||||||
|
outer_window: 0,
|
||||||
|
renderer: WillPaginate::ActionView::BootstrapLinkRenderer
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue