Skip to content

Commit b2c3735

Browse files
committed
update
1 parent b2156d0 commit b2c3735

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/style.css

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -270,14 +270,13 @@ section {
270270
color: var(--fg-color-primary);
271271
background-color: var(--accent-color-secondary);
272272
border-radius: var(--rounded-xs);
273-
visibility: hidden;
274273
white-space: nowrap;
274+
opacity: 0;
275275
transform: translateX(-50%);
276-
z-index: 10;
277276
}
278277

279278
.portfolio__contact:hover .portfolio__contact-content {
280-
visibility: visible;
279+
opacity: 1;
281280
}
282281

283282
.portfolio__contact--copy:active {
@@ -392,8 +391,8 @@ section {
392391
font-size: var(--text-3xs);
393392
color: white;
394393
background: var(--bad-color);
395-
z-index: 1000;
396394
pointer-events: none;
395+
z-index: 1000;
397396
}
398397

399398
/* SYNTAX HIGHLIGHTING */

0 commit comments

Comments
 (0)