Skip to content

Commit

Permalink
fix the error
Browse files Browse the repository at this point in the history
  • Loading branch information
yilinxia committed Feb 11, 2025
1 parent 90d0ed4 commit b00e3a2
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions assets/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,16 @@
/* Removed any margin between consecutive .btn-secondary buttons */

.hover-button {
border-width: 4px;
transition: border-color 0.2s ease-in-out;
border: 4px solid transparent;
/* Ensures border width remains consistent */
transition: border-color 0.2s ease-in-out, outline-width 0.2s ease-in-out;
box-sizing: border-box;
/* Ensures padding/border doesn't affect layout */
}

.hover-button:hover {
border-color: black !important;
/* Changes border to black on hover */
/* Keeps border width, only changes color */
outline: 3px solid black;
/* Adds thickness without shifting layout */
}

0 comments on commit b00e3a2

Please sign in to comment.