Skip to content

Commit

Permalink
fix: notify不配置标题时内容块高度异常 (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
rayhaoqin authored Feb 24, 2023
1 parent b09f097 commit 8e96231
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/notify/vars.less
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/theme/infinity-theme/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)',
Expand Down

0 comments on commit 8e96231

Please sign in to comment.