mirror of https://github.com/halo-dev/halo
fix: add word break for long toast body (halo-dev/console#829)
#### What type of PR is this? /kind bug #### What this PR does / why we need it: 解决提示信息过长时不能完全展示的问题。 #### Which issue(s) this PR fixes: Fixes https://github.com/halo-dev/halo/issues/3163 #### Screenshots:  #### Special notes for your reviewer: #### Does this PR introduce a user-facing change? ```release-note fix: add word break for long toast body ```pull/3445/head
parent
637320c344
commit
1884edda57
|
@ -141,7 +141,7 @@ defineExpose({ close });
|
|||
}
|
||||
|
||||
.toast-body {
|
||||
@apply cursor-pointer flex items-center px-2.5 py-2 overflow-hidden bg-white shadow hover:shadow-md transition-all rounded gap-2;
|
||||
@apply cursor-pointer flex items-center px-2.5 py-2 overflow-hidden break-all bg-white shadow hover:shadow-md transition-all rounded gap-2;
|
||||
}
|
||||
|
||||
.toast-content {
|
||||
|
|
Loading…
Reference in New Issue