tdesign-mobile-vue
Version:
tdesign-mobile-vue
29 lines (23 loc) • 433 B
text/less
@import "../../base.less";
@import "./_var.less";
.@{prefix}-drawer {
&__sidebar {
width: calc(100vw * .7);
height: 100%;
background: #fff;
padding-left: 16px;
}
&__sidebar-item {
display: flex;
align-items: center;
border-bottom: 1px solid #e6e6e6;
}
&__sidebar-item-title {
padding: 12px 0;
flex: 1;
}
&__sidebar-item-icon {
font-size: 18px;
margin-right: 10px;
}
}