Skip to content

Commit 24f887f

Browse files
committed
fix:修复saas主题
1 parent db1be9e commit 24f887f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/theme-saas/src/tooltip/index.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
@apply rounded;
2424
@apply ~'py-1' px-2;
2525
@apply text-sm;
26-
@apply leading-5;
26+
line-height: 22px;
2727
min-width: 10px;
2828
max-width: 450px;
2929
@apply ~'z-[2000]';

packages/vue/src/dropdown-item/src/mobile-first.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
data-tag="tiny-dropdown-level"
2424
ref="level"
2525
:class="[
26-
'text-sm',
26+
'text-xs',
2727
level === '2'
2828
? 'mx-6 overflow-hidden text-ellipsis whitespace-nowrap'
2929
: 'mx-4 sm:mx-3 overflow-hidden text-ellipsis whitespace-nowrap'

packages/vue/src/tooltip/src/token.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export const classes = {
22
'tooltip':
3-
'absolute bg-color-text-primary text-color-text-inverse shadow-none -left-[9999px] py-1 px-2 sm:py-1 sm:px-2 text-sm sm:text-sm leading-5 min-w-[theme(spacing.12)] max-w-[theme(spacing.80)] sm:max-w-[theme(spacing.112)] z-[2000] break-words rounded [&[x-placement^=top]]:mb-2.5 [&[x-placement^=bottom]]:mt-2.5 [&[x-placement^=right]]:ml-2.5 [&[x-placement^=left]]:mr-2.5',
3+
'absolute bg-color-text-primary text-color-text-inverse shadow-none -left-[9999px] py-1 px-2 sm:py-1 sm:px-2 text-sm sm:text-xs leading-5 min-w-[theme(spacing.12)] max-w-[theme(spacing.80)] sm:max-w-[theme(spacing.112)] z-[2000] break-words rounded [&[x-placement^=top]]:mb-2.5 [&[x-placement^=bottom]]:mt-2.5 [&[x-placement^=right]]:ml-2.5 [&[x-placement^=left]]:mr-2.5',
44
'tooltip-sm': 'sm:bg-color-bg-1 sm:text-color-text-primary sm:shadow-md',
55
'arrow':
66
'drop-shadow-none absolute block w-0 h-0 border-[0.375rem] border-transparent border-solid after:absolute after:block after:w-0 after:h-0 after:border-[0.3125rem] after:border-transparent after:border-solid after:content-[""]',

0 commit comments

Comments
 (0)