Skip to content

Commit

Permalink
Reduce size-limit threshold for widget-exports.js.
Browse files Browse the repository at this point in the history
  • Loading branch information
avinashbot committed Feb 5, 2025
1 parent c9cea09 commit b03fdec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
{
"path": "lib/components/internal/widget-exports.js",
"brotli": false,
"limit": "800 kB"
"limit": "750 kB"
}
],
"browserslist": [
Expand Down
2 changes: 2 additions & 0 deletions src/button/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
@include styles.focus-highlight(awsui.$space-button-focus-outline-gutter);

&.variant-icon,
&.variant-modal-dismiss,
&.variant-flashbar-icon {
@include styles.focus-highlight(
(
Expand Down Expand Up @@ -108,6 +109,7 @@
}

&.variant-icon,
&.variant-inline-icon,
&.variant-flashbar-icon {
// Icon has vertical padding, but no horizontal, we need to conpensate this
// in order to have equal height and width
Expand Down

0 comments on commit b03fdec

Please sign in to comment.