Skip to content

Commit dfadede

Browse files
committed
[design] improve group border controls
1 parent 1a6e415 commit dfadede

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

‎src/css/group.css‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
width:var(--link-area-width);
77
}
88

9-
.is-group-border .group:not(:first-child):not(:only-child){
10-
border-top:calc(var(--layout-line-width) *var(--group-border)) solid rgb(var(--theme-accent));
11-
}
12-
139
.group:first-child{
1410
padding-top:calc(var(--layout-space) *var(--layout-padding));
1511
}
@@ -18,6 +14,10 @@
1814
padding-bottom:calc(var(--layout-space) *var(--layout-padding));
1915
}
2016

17+
.is-group-border .group:not(:last-child):not(:only-child){
18+
border-bottom:calc(var(--layout-line-width) *var(--group-border)) solid rgb(var(--theme-accent));
19+
}
20+
2121
.is-group-border .group{
2222
padding-top:calc(var(--layout-space) *var(--layout-padding));
2323
padding-bottom:calc(var(--layout-space) *var(--layout-padding));

‎src/index.html‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,7 @@ <h1 class="menu-item-header-text">Border</h1>
793793
<labelfor="control-group-border">Between groups</label>
794794
<inputid="control-group-border" class="control-group-border mb-0" type="range" min="0" max="60" value="0" tabindex="-1">
795795
</div>
796+
<pclass="control-link-area-width-helper form-helper small">Border between groups may not be visible if there is only one group.</p>
796797
</div>
797798
</div>
798799
</div>

0 commit comments

Comments
(0)