menu: stroke width

This commit is contained in:
bordun 2020-09-06 17:22:14 +02:00
parent 2639cb3476
commit aa4648ec57
2 changed files with 3 additions and 4 deletions

View file

@ -250,7 +250,7 @@
@include pseudo-stroke($z: 2);
&:before {
border-width: 1rem;
border-width: var(--stroke-width);
}
@ -350,7 +350,7 @@
display: flex;
flex-direction: row;
padding: calc(var(--widget-padding) / 2 + 1rem);
padding: calc(var(--widget-padding) / 2 + var(--stroke-width));
.item {
position: relative;

View file

@ -10,9 +10,8 @@
position: relative;
flex: 1;
display: flex;
padding: var(--widget-padding);
padding: calc(var(--widget-spacing) + var(--stroke-width));
background-clip: content-box;
@include pseudo-stroke();
}