Browse Source
feat: add padding less variable for Alert (#38369)
* feat: add padding less variable for Alert
* feat: Alert less variable
pull/38375/head
章鱼怪
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
5 additions and
1 deletions
-
components/alert/style/index.less
-
components/style/themes/default.less
-
components/style/themes/variable.less
|
|
@ -9,7 +9,7 @@ |
|
|
|
position: relative; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
padding: 8px 15px; |
|
|
|
padding: @alert-padding-vertical @alert-padding-horizontal; |
|
|
|
word-wrap: break-word; |
|
|
|
border-radius: @border-radius-base; |
|
|
|
|
|
|
|
|
|
@ -966,6 +966,8 @@ |
|
|
|
@alert-text-color: @text-color; |
|
|
|
@alert-close-color: @text-color-secondary; |
|
|
|
@alert-close-hover-color: @icon-color-hover; |
|
|
|
@alert-padding-vertical: @padding-xs; |
|
|
|
@alert-padding-horizontal: @padding-md - 1px; |
|
|
|
@alert-no-icon-padding-vertical: @padding-xs; |
|
|
|
@alert-with-description-no-icon-padding-vertical: @padding-md - 1px; |
|
|
|
@alert-with-description-padding-vertical: @padding-md - 1px; |
|
|
|
|
|
@ -1021,6 +1021,8 @@ |
|
|
|
@alert-text-color: @text-color; |
|
|
|
@alert-close-color: @text-color-secondary; |
|
|
|
@alert-close-hover-color: @icon-color-hover; |
|
|
|
@alert-padding-vertical: @padding-xs; |
|
|
|
@alert-padding-horizontal: @padding-md - 1px; |
|
|
|
@alert-no-icon-padding-vertical: @padding-xs; |
|
|
|
@alert-with-description-no-icon-padding-vertical: @padding-md - 1px; |
|
|
|
@alert-with-description-padding-vertical: @padding-md - 1px; |
|
|
|