-
Notifications
You must be signed in to change notification settings - Fork 133
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
Upgrade antd #811
Upgrade antd #811
Changes from 8 commits
9beb749
5559a6f
d17157b
200a03f
19ca772
6292e6b
eeda84f
cc32cf6
a9aad8f
4312b78
edde0c1
18d2747
e68c6ba
5c971d3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
@import '~antd/es/style/themes/default.less'; | ||
|
||
.sticky_tabs_header { | ||
padding-left: @padding-page; // 48px | ||
height: @padding-page; // 48px | ||
margin-bottom: @padding-md; // 16px | ||
border-bottom: 1px solid @gray-4; | ||
|
||
:global { | ||
.ant-tabs-ink-bar { | ||
height: @outline-width; // 2px | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
margin-right: -@padding-page; | ||
|
||
:global { | ||
.ant-tabs-bar { | ||
.ant-tabs-nav { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe better to find some way to remove this rule (which depends on the internal implementation of Antd's Tab). I'm not sure There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok, let me try it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It works, awesome! |
||
padding-left: @padding-page; | ||
padding-right: @padding-page; | ||
} | ||
|
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.
Although
1px
andsolid
also have variables, I think here using the value may be more direct and explicit.