From 35f493e6bdcf9683f23ca3ca415da419a96d8270 Mon Sep 17 00:00:00 2001 From: Hsuan Lee Date: Mon, 11 Sep 2017 17:09:31 +0800 Subject: [PATCH] fix(module:pagination): prevent selection after double click --- src/components/pagination/nz-pagination.component.ts | 3 ++- src/components/pagination/style/patch.less | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 src/components/pagination/style/patch.less diff --git a/src/components/pagination/nz-pagination.component.ts b/src/components/pagination/nz-pagination.component.ts index 96b11bb70e..7bd4fff586 100644 --- a/src/components/pagination/nz-pagination.component.ts +++ b/src/components/pagination/nz-pagination.component.ts @@ -108,7 +108,8 @@ import { `, styleUrls : [ - './style/index.less' + './style/index.less', + './style/patch.less' ] }) export class NzPaginationComponent { diff --git a/src/components/pagination/style/patch.less b/src/components/pagination/style/patch.less new file mode 100644 index 0000000000..df9ef30d33 --- /dev/null +++ b/src/components/pagination/style/patch.less @@ -0,0 +1,5 @@ +@import "./index.less"; + +.@{pagination-prefix-cls} { + user-select: none; +}