From cf1cc3cc6521a2c85d37293f450c0ef29f0bfb04 Mon Sep 17 00:00:00 2001 From: xiaohuoni Date: Fri, 1 Dec 2023 17:32:58 +0800 Subject: [PATCH] chore: remove less --- ListCardList/src/utils/utils.less | 50 --------------------------- ListCardList/src/utils/utils.style.ts | 6 ---- 2 files changed, 56 deletions(-) delete mode 100644 ListCardList/src/utils/utils.less delete mode 100644 ListCardList/src/utils/utils.style.ts diff --git a/ListCardList/src/utils/utils.less b/ListCardList/src/utils/utils.less deleted file mode 100644 index de1aa642..00000000 --- a/ListCardList/src/utils/utils.less +++ /dev/null @@ -1,50 +0,0 @@ -.textOverflow() { - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - word-break: break-all; -} - -.textOverflowMulti(@line: 3, @bg: #fff) { - position: relative; - max-height: @line * 1.5em; - margin-right: -1em; - padding-right: 1em; - overflow: hidden; - line-height: 1.5em; - text-align: justify; - &::before { - position: absolute; - right: 14px; - bottom: 0; - padding: 0 1px; - background: @bg; - content: '...'; - } - &::after { - position: absolute; - right: 14px; - width: 1em; - height: 1em; - margin-top: 0.2em; - background: white; - content: ''; - } -} - -// mixins for clearfix -// ------------------------ -.clearfix() { - zoom: 1; - &::before, - &::after { - display: table; - content: ' '; - } - &::after { - clear: both; - height: 0; - font-size: 0; - visibility: hidden; - } -} diff --git a/ListCardList/src/utils/utils.style.ts b/ListCardList/src/utils/utils.style.ts deleted file mode 100644 index 0ad5e64a..00000000 --- a/ListCardList/src/utils/utils.style.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { createStyles } from 'antd-style'; - -const useStyles = createStyles(() => { - return {}; -}); -export default useStyles;