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
fix(design): fix z-index for SubMenu
#1440
Conversation
View Deployment
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #1440 +/- ##
=======================================
Coverage 31.26% 31.26%
=======================================
Files 876 876
Lines 49145 49145
Branches 10139 10139
=======================================
Hits 15364 15364
Misses 33781 33781 ☔ View full report in Codecov by Sentry. |
@@ -100,7 +100,7 @@ | |||
&-submenu { | |||
&-popup { | |||
position: absolute; | |||
z-index: 1; | |||
z-index: 1070; |
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.
我建议提前把 z-index 分成哪几个区域,每个区域分给哪些组件(包括业务组件),提前确定一下,形成个文档;不然(根据之前做的项目来看)长期来看可能会混乱
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.
这个有计划做,这周 storybook 恢复以后会增加相关的 z-index token 到文档上
dev
branch.close #1434