Browse Source

refactor(gui-v2): pagination inactive items color

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3139/head
Pranav C 2 years ago
parent
commit
afb097604b
  1. 9
      packages/nc-gui-v2/components/smartsheet/Pagination.vue

9
packages/nc-gui-v2/components/smartsheet/Pagination.vue

@ -19,7 +19,7 @@ const page = computed({
<template>
<div class="flex items-center">
<span v-if="count !== null && count !== Infinity" class="caption ml-2"> {{ count }} record{{ count !== 1 ? 's' : '' }} </span>
<span v-if="count !== null && count !== Infinity" class="caption ml-2 text-gray-500"> {{ count }} record{{ count !== 1 ? 's' : '' }} </span>
<div class="flex-1" />
@ -51,4 +51,11 @@ const page = computed({
line-height: 21px !important;
@apply text-sm;
}
:deep(.ant-pagination-item:not(.ant-pagination-item-active) a) {
line-height: 21px !important;
@apply text-sm text-gray-500;
}
:deep(.ant-pagination-item-link){
@apply text-gray-500;
}
</style>

Loading…
Cancel
Save