Skip to content

Commit

Permalink
revert: chore: Adds pseudo element around the annotation trigger (#3250)
Browse files Browse the repository at this point in the history
  • Loading branch information
orangevolon authored Feb 5, 2025
1 parent a07a737 commit 89612ae
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/annotation-context/annotation/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,11 @@
padding-inline: 0;
cursor: pointer;
scroll-margin: var(#{custom-props.$contentScrollMargin}, 40px 0 0 0);
position: relative;

// These dimensions match the dimensions of the contained SVG icon.
inline-size: 16px;
block-size: 16px;

// Extends the clickable area beyond the actual size of the button
&:before {
content: '';
position: absolute;
inset: calc(-1 * #{awsui.$space-xxs});
}

&:focus {
outline: none;
}
Expand Down

0 comments on commit 89612ae

Please sign in to comment.