Skip to content

Commit 6a65e1e

Browse files
committed
Fix category__btn shift on selection
1 parent 600723c commit 6a65e1e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/styles/main.css

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -465,17 +465,17 @@ abbr {
465465
background-color: transparent;
466466
border: 0;
467467
color: inherit;
468-
border-radius: 0;
469468
text-align: start;
470469
display: inline-block;
471470
padding: 0.75em 1em;
472471
width: 100%;
473472
font-size: var(--fs-500);
473+
border-radius: var(--br-md);
474+
border: 1px solid transparent;
475+
border-right: 0;
474476

475477
&:is(:hover, :focus-visible):not(.category__btn--active) {
476-
/* color: var(--text-primary); */
477478
background-image: var(--gradient-secondary);
478-
border-radius: var(--br-md);
479479
}
480480
}
481481

@@ -484,7 +484,6 @@ abbr {
484484
border: 1px solid var(--border-color);
485485
font-weight: var(--fw-bold);
486486
color: var(--text-dark);
487-
border-radius: var(--br-md);
488487
}
489488

490489
/*------------------------------------*\

0 commit comments

Comments
 (0)