summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2019-02-27 10:16:46 +0000
committerKushal Pandya <kushalspandya@gmail.com>2019-02-27 10:16:46 +0000
commitd63483a2dad8c42e47484ea340bd0f94bc898e27 (patch)
tree428de9267e649d4a901e1ad53eeb31005545deb5 /app
parentd6696f819b5b47752c6451f939d24f0f03054663 (diff)
downloadgitlab-ce-d63483a2dad8c42e47484ea340bd0f94bc898e27.tar.gz
Fix inconsistent pagination styles
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/vue_shared/components/table_pagination.vue4
-rw-r--r--app/assets/stylesheets/framework/variables_overrides.scss1
2 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/javascripts/vue_shared/components/table_pagination.vue b/app/assets/javascripts/vue_shared/components/table_pagination.vue
index 2a34b4630f2..9f38c2e4b9e 100644
--- a/app/assets/javascripts/vue_shared/components/table_pagination.vue
+++ b/app/assets/javascripts/vue_shared/components/table_pagination.vue
@@ -149,9 +149,9 @@ export default {
}"
class="page-item"
>
- <a class="page-link" @click.prevent="changePage(item.title, item.disabled)">
+ <button type="button" class="page-link" @click="changePage(item.title, item.disabled)">
{{ item.title }}
- </a>
+ </button>
</li>
</ul>
</div>
diff --git a/app/assets/stylesheets/framework/variables_overrides.scss b/app/assets/stylesheets/framework/variables_overrides.scss
index 814e802f7c1..9b52493fd4d 100644
--- a/app/assets/stylesheets/framework/variables_overrides.scss
+++ b/app/assets/stylesheets/framework/variables_overrides.scss
@@ -44,3 +44,4 @@ $spacers: (
5: ($spacer * 4),
6: ($spacer * 8)
);
+$pagination-color: $gl-text-color;