feat(Divider): add divider-horizontal-gutter variable (#5820)

pull/5629/head
meteorlxy 2022-07-24 09:08:40 +08:00 committed by GitHub
parent 86450c2a1b
commit 05357a8c3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View File

@ -24,7 +24,7 @@
clear: both;
width: 100%;
min-width: 100%; // Fix https://github.com/ant-design/ant-design/issues/10914
margin: 24px 0;
margin: @divider-horizontal-gutter 0;
}
&-horizontal&-with-text {

View File

@ -290,6 +290,7 @@
@divider-orientation-margin: 5%;
@divider-color: rgba(0, 0, 0, 6%);
@divider-vertical-gutter: 8px;
@divider-horizontal-gutter: 24px;
// Dropdown
@dropdown-selected-color: @primary-color;

View File

@ -345,6 +345,7 @@
@divider-orientation-margin: 5%;
@divider-color: rgba(0, 0, 0, 6%);
@divider-vertical-gutter: 8px;
@divider-horizontal-gutter: 24px;
// Dropdown
@dropdown-selected-color: @primary-color;