Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/site_shared/lib/_sass/components/_blog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
&:hover button {
color: var(--site-base-fgColor);
background-color: transparent;
cursor: pointer;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Instead of applying cursor: pointer only when hovering over the parent element (&:hover button), it is more standard and maintainable to define cursor: pointer directly on the button element itself. This ensures the cursor behavior is consistently associated with the button.

Consider removing it from here and adding it to the button rule instead:

  button {
    padding: 0.75rem 0.5rem;

    font-size: 1rem;
    font-weight: 500;
    background-color: transparent;
    color: var(--site-base-fgColor-alt);
    cursor: pointer;
  }

}

&.active {
Expand Down