diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2016-11-01 17:19:27 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2016-11-01 17:19:27 +0000 |
commit | 5f4bb33d1cd3cf4ed3f0c6596cf8dc2b66be19a0 (patch) | |
tree | 1af90c98cb07af026b30fa707408916475f34428 /app/assets/stylesheets/framework/pagination.scss | |
parent | 69164211159ac1d4e80d53d5a9d4f3578b689454 (diff) | |
download | gitlab-ce-5f4bb33d1cd3cf4ed3f0c6596cf8dc2b66be19a0.tar.gz |
Fixes after review
Diffstat (limited to 'app/assets/stylesheets/framework/pagination.scss')
-rw-r--r-- | app/assets/stylesheets/framework/pagination.scss | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/app/assets/stylesheets/framework/pagination.scss b/app/assets/stylesheets/framework/pagination.scss index 2700d5db9f0..820fb4243e8 100644 --- a/app/assets/stylesheets/framework/pagination.scss +++ b/app/assets/stylesheets/framework/pagination.scss @@ -21,13 +21,32 @@ } /** - * Small screen pagination + * Extra-small screen pagination. */ +@media (max-width: 320px) { + .gl-pagination { + .first, + .last { + display: none; + } + .page { + display: none; + + &.active { + display: inline; + } + } + } +} + +/** + * Small screen pagination + */ @media (max-width: $screen-xs) { .gl-pagination { .pagination li a { - padding: 6px 14px; + padding: 6px 10px; } .page { |