adjust public profile pages 2 (#5223)

This commit is contained in:
Lynx Kotoura 2017-10-05 05:49:36 +09:00 committed by Eugen Rochko
parent 636acb5712
commit 32e8a87830
3 changed files with 10 additions and 11 deletions

View File

@ -69,12 +69,16 @@
position: relative; position: relative;
z-index: 2; z-index: 2;
margin-bottom: 30px; margin-bottom: 30px;
overflow: hidden;
text-overflow: ellipsis;
small { small {
display: block; display: block;
font-size: 14px; font-size: 14px;
color: $ui-highlight-color; color: $ui-highlight-color;
font-weight: 400; font-weight: 400;
overflow: hidden;
text-overflow: ellipsis;
} }
} }
@ -284,21 +288,15 @@
color: lighten($ui-base-color, 10%); color: lighten($ui-base-color, 10%);
} }
@media screen and (max-width: 360px) { @media screen and (max-width: 700px) {
padding: 30px 20px; padding: 30px 20px;
a, .page {
.current,
.next,
.prev,
.gap {
display: none; display: none;
} }
.next, .next,
.prev, .prev {
.next a,
.prev a {
display: inline-block; display: inline-block;
} }
} }
@ -375,6 +373,7 @@
height: 80px; height: 80px;
border-radius: 80px; border-radius: 80px;
border: 2px solid $simple-background-color; border: 2px solid $simple-background-color;
background: $simple-background-color;
} }
} }

View File

@ -515,6 +515,7 @@ code {
.action-pagination { .action-pagination {
display: flex; display: flex;
flex-wrap: wrap;
align-items: center; align-items: center;
.actions, .actions,

View File

@ -3,6 +3,5 @@
Kaminari.configure do |config| Kaminari.configure do |config|
config.default_per_page = 40 config.default_per_page = 40
config.window = 1 config.window = 1
config.left = 3 config.outer_window = 1
config.right = 1
end end