Move forms to sidepanel
表单组件迁移到 SidePanel 原 Popup 引导打开 SidePanel 优化表单组件和 Hooks,获取 Form 组件 Ref
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
.root {
|
||||
color: #333;
|
||||
font-size: 14px;
|
||||
|
||||
.nav {
|
||||
display: flex;
|
||||
text-align: center;
|
||||
border-bottom: 1px solid #eee;
|
||||
|
||||
a {
|
||||
flex: 1;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
padding: .75em 1em;
|
||||
|
||||
&.active {
|
||||
color: #28b9be;
|
||||
|
||||
&::after {
|
||||
margin-top: .25em;
|
||||
position: absolute;
|
||||
left: calc(50% - .25em);
|
||||
|
||||
content: "";
|
||||
width: .75em;
|
||||
height: 2px;
|
||||
display: block;
|
||||
background-color: currentColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user