diff --git a/.all-contributorsrc b/.all-contributorsrc
index 8147afe78695..39487fd4e996 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -1588,6 +1588,15 @@
"code"
]
},
+ {
+ "login": "AliAldobyan",
+ "name": "Ali Al Dobyan",
+ "avatar_url": "https://avatars.githubusercontent.com/u/17975825?v=4",
+ "profile": "https://github.com/AliAldobyan",
+ "contributions": [
+ "code"
+ ]
+ },
{
"login": "Adam-Shea",
"name": "Adam Shea",
diff --git a/README.md b/README.md
index a32c00181328..9443290610c1 100644
--- a/README.md
+++ b/README.md
@@ -297,6 +297,7 @@ check out our [Contributing Guide](/.github/CONTRIBUTING.md) and our
nandininarayanofficial 💻 |
Andrea DG 💻 |
Luis 💻 |
+ Ali Al Dobyan 💻 |
Luke Harrison 💻 |
Ahmed Alsinan 💻 |
Adam Shea 💻 |
diff --git a/packages/styles/scss/components/button/_button.scss b/packages/styles/scss/components/button/_button.scss
index 53dc9a605c4a..9d69e870efad 100644
--- a/packages/styles/scss/components/button/_button.scss
+++ b/packages/styles/scss/components/button/_button.scss
@@ -162,7 +162,6 @@
);
> :first-child {
- margin-block-start: convert.to-rem(1px);
min-inline-size: convert.to-rem(16px);
}
@@ -174,6 +173,12 @@
&.#{$prefix}--btn--danger--ghost .#{$prefix}--btn__icon {
margin: 0;
}
+
+ &.#{$prefix}--btn--danger--ghost {
+ padding-inline-end: calc(
+ layout.density('padding-inline') - convert.to-rem(16px)
+ );
+ }
}
// Adjust icon positioning in small, medium variants only