Browse Source

adjust public profile pages 2 (#5223)

pull/4/head
Lynx Kotoura 6 years ago
committed by Eugen Rochko
parent
commit
32e8a87830
3 changed files with 10 additions and 11 deletions
  1. +8
    -9
      app/javascript/styles/accounts.scss
  2. +1
    -0
      app/javascript/styles/forms.scss
  3. +1
    -2
      config/initializers/kaminari_config.rb

+ 8
- 9
app/javascript/styles/accounts.scss View File

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

+ 1
- 0
app/javascript/styles/forms.scss View File

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

+ 1
- 2
config/initializers/kaminari_config.rb View File

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

Loading…
Cancel
Save