Merge pull request #5791 from SansPseudoFix/5745-Conversation-pagination-design-is-broken
Fix for 5745 - conversation pagination design is broken
This commit is contained in:
commit
b69239ed2f
5 changed files with 34 additions and 2 deletions
|
|
@ -157,6 +157,7 @@ diaspora.yml file**. The existing settings from 0.4.x and before will not work a
|
||||||
* Display correct error message for too long tags [#5783](https://github.com/diaspora/diaspora/pull/5783)
|
* Display correct error message for too long tags [#5783](https://github.com/diaspora/diaspora/pull/5783)
|
||||||
* Fix displaying reshares in the stream on mobile [#5790](https://github.com/diaspora/diaspora/pull/5790)
|
* Fix displaying reshares in the stream on mobile [#5790](https://github.com/diaspora/diaspora/pull/5790)
|
||||||
* Remove bottom margin from lists that are the last element of a post. [#5721](https://github.com/diaspora/diaspora/pull/5721)
|
* Remove bottom margin from lists that are the last element of a post. [#5721](https://github.com/diaspora/diaspora/pull/5721)
|
||||||
|
* Fix pagination design on conversations page [#5791](https://github.com/diaspora/diaspora/pull/5791)
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
* Don't pull jQuery from a CDN by default [#5105](https://github.com/diaspora/diaspora/pull/5105)
|
* Don't pull jQuery from a CDN by default [#5105](https://github.com/diaspora/diaspora/pull/5105)
|
||||||
|
|
|
||||||
|
|
@ -180,6 +180,21 @@
|
||||||
a:hover {
|
a:hover {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
.pagination {
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
.disabled a {
|
||||||
|
background: $background-grey;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1354px) {
|
||||||
|
#left_pane #conversation_inbox .pagination ul > li > a {
|
||||||
|
padding: 4px 7px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -847,6 +847,22 @@ 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 {
|
||||||
|
.pagination {
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
ul > li > a {
|
||||||
|
padding: 4px 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.disabled a{
|
||||||
|
background: $background-grey;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
input#user_password, #user_username, #user_password_confirmation, #user_email {
|
input#user_password, #user_username, #user_password_confirmation, #user_email {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
- else
|
- else
|
||||||
#no_conversations
|
#no_conversations
|
||||||
= t('.no_messages')
|
= t('.no_messages')
|
||||||
= will_paginate @conversations, :renderer => WillPaginate::ActionView::BootstrapLinkRenderer
|
= will_paginate @conversations, :previous_label => '«', :next_label => '»', :inner_window => 1, :renderer => WillPaginate::ActionView::BootstrapLinkRenderer
|
||||||
|
|
||||||
.span8
|
.span8
|
||||||
- if @conversation
|
- if @conversation
|
||||||
|
|
|
||||||
|
|
@ -27,4 +27,4 @@
|
||||||
%i
|
%i
|
||||||
= t('.no_messages')
|
= t('.no_messages')
|
||||||
|
|
||||||
= will_paginate @conversations, :renderer => WillPaginate::ActionView::BootstrapLinkRenderer
|
= will_paginate @conversations, :previous_label => '«', :next_label => '»', :inner_window => 1, :outer_window => 0, :renderer => WillPaginate::ActionView::BootstrapLinkRenderer
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue