Skip to content

Commit

Permalink
chore(empty): optimize detail
Browse files Browse the repository at this point in the history
  • Loading branch information
uyarn committed Aug 22, 2024
1 parent 34f0a90 commit 024c002
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions style/web/components/empty/_index.less
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,12 @@

.@{prefix}-empty__title {
font: @empty-title-font-small;
margin-top: @empty-title-margin-top-small;
}

.@{prefix}-empty__description {
font: @empty-description-font-small;
margin-top: @empty-description-margin-top-small;
}
}

Expand Down
6 changes: 4 additions & 2 deletions style/web/components/empty/_var.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,19 @@
@empty-image-size-large: 64px;

// font-color
@empty-title-color: @text-color-primary;
@empty-description-color: @text-color-secondary;
@empty-title-color: @text-color-secondary;
@empty-description-color: @text-color-placeholder;

// padding
@empty-padding: 0;

// margin
@empty-image-margin-top: 0;
@empty-image-margin-bottom: 0;
@empty-title-margin-top-small: @comp-margin-xxs;
@empty-title-margin-top: @comp-margin-s;
@empty-title-margin-bottom: 0;
@empty-description-margin-top-small: @comp-margin-xxs;
@empty-description-margin-top: @comp-margin-xs;
@empty-description-margin-bottom: 0;
@empty-action-margin-top: @comp-margin-xxl;
Expand Down

0 comments on commit 024c002

Please sign in to comment.