Skip to content

Commit

Permalink
fix(alert/confirm-dialog): changed alignment to left by default and r…
Browse files Browse the repository at this point in the history
…ight for footer (#2509)
  • Loading branch information
agliga authored Dec 16, 2024
1 parent e4d7216 commit d7d80cc
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/mean-goats-smile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ebay/skin": minor
---

fix(alert/confirm-dialog): changed alignment to left by default and right for footer
5 changes: 4 additions & 1 deletion dist/alert-dialog/alert-dialog.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
min-height: 55px;
min-width: 208px;
padding: var(--spacing-200);
text-align: center;
will-change: opacity, transform;
}

Expand All @@ -49,6 +48,10 @@
margin: 0;
}

.alert-dialog__footer {
text-align: right;
}

.alert-dialog__main {
margin: var(--spacing-200) 0;
min-height: var(--spacing-200);
Expand Down
5 changes: 4 additions & 1 deletion dist/confirm-dialog/confirm-dialog.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
min-height: 55px;
min-width: 208px;
padding: var(--spacing-200);
text-align: center;
will-change: opacity, transform;
}

Expand All @@ -60,6 +59,10 @@
margin-bottom: 0;
}

.confirm-dialog__footer {
text-align: right;
}

a.confirm-dialog__confirm,
button.confirm-dialog__confirm {
margin-left: var(--spacing-100);
Expand Down
5 changes: 4 additions & 1 deletion src/sass/alert-dialog/alert-dialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
margin-left: var(--spacing-200);
margin-right: var(--spacing-200);
padding: var(--spacing-200);
text-align: center;
}

.alert-dialog__title {
Expand All @@ -22,6 +21,10 @@
margin: 0;
}

.alert-dialog__footer {
text-align: right;
}

.alert-dialog__main {
margin: var(--spacing-200) 0;
min-height: var(--spacing-200);
Expand Down
5 changes: 4 additions & 1 deletion src/sass/confirm-dialog/confirm-dialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
margin-left: var(--spacing-200);
margin-right: var(--spacing-200);
padding: var(--spacing-200);
text-align: center;
}

.confirm-dialog__title {
Expand All @@ -35,6 +34,10 @@
}
}

.confirm-dialog__footer {
text-align: right;
}

a.confirm-dialog__confirm,
button.confirm-dialog__confirm {
margin-left: var(--spacing-100);
Expand Down

0 comments on commit d7d80cc

Please sign in to comment.