Skip to content

Commit 1517f65

Browse files
committed
💄 adjust before element
1 parent 639a8b4 commit 1517f65

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

assets/sass/main.scss

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -262,14 +262,6 @@
262262
opacity: 0.95;
263263
//transition: 0.25s all;
264264

265-
&::before {
266-
display: block;
267-
width: 100%;
268-
content: 'navigation';
269-
font-variant: small-caps;
270-
border-bottom: 1px dotted _palette(border);
271-
}
272-
273265
ul {
274266
list-style-type: none;
275267
padding-bottom: 1px;
@@ -313,9 +305,11 @@
313305

314306
&:hover {
315307
&::before {
316-
opacity: 0;
317-
min-width: 0;
318-
min-height: 0;
308+
display: block;
309+
width: 100%;
310+
content: 'navigation';
311+
font-variant: small-caps;
312+
border-bottom: 1px dotted _palette(border);
319313
}
320314
}
321315
}

0 commit comments

Comments
 (0)