Skip to content

Commit

Permalink
style(Toast): adjust some styles (#5595)
Browse files Browse the repository at this point in the history
* feat(toast): adjust some styles

* feat(toast): adjust min width
  • Loading branch information
liangchaofei committed Aug 19, 2022
1 parent 8d57d8d commit 4085126
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/toast/toast.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
left: 50%;
transform: translate(-50%, -50%);
width: auto;
min-width: 96px;
max-width: 200px;
max-width: 204px;
max-height: 70%;
overflow: auto;
color: white;
Expand All @@ -30,9 +29,11 @@
}
.@{class-prefix-toast}-main-text {
padding: 12px;
min-width: 0px;
}
.@{class-prefix-toast}-main-icon {
padding: 35px 40px;
padding: 35px 12px;
min-width: 150px;
.@{class-prefix-toast}-icon {
text-align: center;
margin-bottom: 8px;
Expand Down

0 comments on commit 4085126

Please sign in to comment.