fix. 스토리북 대응 수정
This commit is contained in:
@@ -87,7 +87,7 @@ const handlePagination = (page: number) => {
|
||||
>
|
||||
<AtomsIconsArrowRightLine
|
||||
:size="16"
|
||||
:color="currentPage === firstPage ? '#CCCCCC' : '#333333'"
|
||||
:fill="currentPage === firstPage ? '#CCCCCC' : '#333333'"
|
||||
class="rotate-180"
|
||||
/>
|
||||
</button>
|
||||
@@ -97,21 +97,18 @@ const handlePagination = (page: number) => {
|
||||
<li
|
||||
class="relative inline-flex items-center justify-center w-[32px] h-[32px]"
|
||||
>
|
||||
<AtomsButton
|
||||
type="action"
|
||||
size="size-small"
|
||||
background-color="transparent"
|
||||
text-color="#333333"
|
||||
<button
|
||||
type="button"
|
||||
:class="[
|
||||
'!w-full !h-full p-0 rounded-full text-center text-[14px] font-[500] leading-[24px] tracking-[-0.42px]',
|
||||
'w-full h-full p-0 rounded-full text-center text-[14px] font-[500] text-[#333333] leading-[24px] tracking-[-0.42px]',
|
||||
page === currentPage
|
||||
? '!bg-[var(--primary)] !text-white cursor-default'
|
||||
? 'bg-[var(--primary)] text-white cursor-default'
|
||||
: '',
|
||||
]"
|
||||
@click="handlePagination(page)"
|
||||
>
|
||||
<span>{{ page }}</span>
|
||||
</AtomsButton>
|
||||
</button>
|
||||
</li>
|
||||
</template>
|
||||
</ol>
|
||||
@@ -124,7 +121,7 @@ const handlePagination = (page: number) => {
|
||||
>
|
||||
<AtomsIconsArrowRightLine
|
||||
:size="16"
|
||||
:color="currentPage === lastPage ? '#CCCCCC' : '#333333'"
|
||||
:fill="currentPage === lastPage ? '#CCCCCC' : '#333333'"
|
||||
/>
|
||||
</button>
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user