1 parent 1d976b1 commit 1d30552Copy full SHA for 1d30552
1 file changed
src/css/custom.css
@@ -193,22 +193,16 @@ li.menu__list-item {
193
194
li:has(.navbar-icon) {
195
width: auto;
196
- margin-top: 1rem !important;
197
}
198
199
-li:has(.navbar-icon):not(li:has(.navbar-icon) ~ *)::before {
200
- content: "";
201
- display: inline-block;
202
- position: absolute;
203
- left: 0;
204
- transform: translate(5%, calc(-0.5rem + 1px));
205
- background: linear-gradient(
206
- to right,
207
- transparent,
208
- gray 10%,
209
- gray 90%,
210
- transparent 100%
211
- );
212
- height: 2px;
213
- width: 90%;
214
-}
+li.menu__list-item:has(:not(.navbar-icon)):has(+ li:has(.navbar-icon)) {
+ padding-bottom: 0.25rem;
+ border-bottom: 2px solid;
+ border-image: linear-gradient(
+ to right,
+ transparent,
+ gray 10%,
+ gray 90%,
+ transparent 100%
+ ) 1;
+}
0 commit comments