-
-
Notifications
You must be signed in to change notification settings - Fork 49.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
style: add @divider-orientation-margin
less
#24877
Conversation
components/divider/style/index.less
Outdated
} | ||
} | ||
|
||
&-horizontal&-with-text-right { | ||
&::before { | ||
top: 50%; | ||
width: 95%; | ||
width: 100% - @divider-text-left-width; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可能不是 left。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
大佬来起个名~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@divider-orientation-margin
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit ace87bf:
|
Codecov Report
@@ Coverage Diff @@
## master #24877 +/- ##
=======================================
Coverage 99.31% 99.31%
=======================================
Files 365 365
Lines 7301 7301
Branches 2041 2042 +1
=======================================
Hits 7251 7251
Misses 50 50 Continue to review full report at Codecov.
|
@divider-text-left-width
less@divider-orientation-margin
less
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
fix #24859
💡 Background and solution
📝 Changelog
@divider-orientation-margin
less to control Divider left width when set orientation.@divider-orientation-margin
变量,用以控制 Divider 设置了 orientation 的左侧距离。☑️ Self Check before Merge