Adding separators to sidebar menu

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2021-06-22 10:03:28 +03:00
1 parent 386c6a3a4d
commit d6b641ce61
2 files changed
+15

No files matched your search

@@ -87,6 +87,7 @@ export class EntitySettings extends React.Component<Props> {
<Tabs className="flex column" scrollable={false} onChange={this.onTabChange} value={this.activeTab}>
{ groups.map((group, groupIndex) => (
<React.Fragment key={`group-${groupIndex}`}>
<hr/>
<div className="header">{group[0]}</div>
{ group[1].map((setting, index) => (
<Tab
@@ -61,6 +61,19 @@
font-weight: 600;
}
hr {
margin-top: 10px;
margin-bottom: 10px;
margin-left: 10px;
margin-right: 20px;
height: 1px;
border-top: thin solid var(--hrColor);
&:first-child {
display: none;
}
}
.Tabs {
.header {
padding: 6px 10px;
@@ -102,6 +115,7 @@
> .label {
width: 100%;
font-weight: 500;
}
}
}