forked from opentiny/tiny-vue
fix(theme/notify): [notify] fix notify title white-space (#1413)
* fix(theme/notify): [notify] fix notify title white-space * fix(theme/notify): [notify] fix notify title white-space 2 * fix(theme/notify): [notify] fix notify title white-space 3
This commit is contained in:
parent
369f28128b
commit
9146bdb554
|
@ -82,6 +82,7 @@
|
|||
& &__message-zone {
|
||||
@apply w-full;
|
||||
@apply ~'ml-2.5';
|
||||
@apply min-w-0;
|
||||
}
|
||||
|
||||
& &__close-zone {
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
export const tinyPagerAuroraTheme = {
|
||||
'ti-notify-title-white-space': 'nowrap'
|
||||
}
|
|
@ -77,6 +77,9 @@
|
|||
font-size: var(--ti-notify-title-font-size);
|
||||
color: var(--ti-notify-title-text-color);
|
||||
line-height: 1.5;
|
||||
white-space: var(--ti-notify-title-white-space);
|
||||
overflow-x: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
& &__icon {
|
||||
|
|
|
@ -47,6 +47,8 @@
|
|||
--ti-notify-title-margin-horizontal: var(--ti-common-space-0, 0px);
|
||||
// 弹框标题底部外边距
|
||||
--ti-notify-title-margin-bottom: var(--ti-common-space-2x, 8px);
|
||||
// 弹框标题换行(hide)
|
||||
--ti-notify-title-white-space: normal;
|
||||
// 弹框内容字号(没有效果,优先级被覆盖)
|
||||
--ti-notify-content-font-size: var(--ti-common-font-size-1, 14px);
|
||||
// 弹框文字顶部外边距
|
||||
|
|
Loading…
Reference in New Issue