diff --git a/src/notify/vars.less b/src/notify/vars.less index 41d91c1..122f073 100644 --- a/src/notify/vars.less +++ b/src/notify/vars.less @@ -37,7 +37,7 @@ --ti-notify-title-margin-bottom: 0; --ti-notify-content-font-size: var(--ti-common-font-size-1); - --ti-notify-message-margin-vertical: 0; + --ti-notify-message-margin-vertical: 6px; --ti-notify-message-margin-right: 0; --ti-notify-message-margin-left: 10px; --ti-notify-icon-size: var(--ti-common-font-size-5); diff --git a/src/theme/infinity-theme/index.js b/src/theme/infinity-theme/index.js index 17e497c..3efe3ca 100644 --- a/src/theme/infinity-theme/index.js +++ b/src/theme/infinity-theme/index.js @@ -313,7 +313,7 @@ export const infinityTheme = { 'ti-notify-title-font-size': 'var(--ti-common-font-size-1)', 'ti-notify-content-font-size': 'var(--ti-common-font-size-1)', 'ti-notify-icon-size': 'var(--ti-common-font-size-2)', - 'ti-notify-message-margin-vertical': 0, + 'ti-notify-message-margin-vertical': '6px', 'ti-notify-message-margin-right': 0, 'ti-notify-message-margin-left': 0, 'ti-notify-border-radius': 'var(--ti-common-border-radius-1)',