Skip to content

Commit

Permalink
feat(lightbox): add divider over footer (#2441)
Browse files Browse the repository at this point in the history
  • Loading branch information
saiponnada authored Sep 20, 2024
1 parent 88c1091 commit ed9a37a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/healthy-eyes-trade.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ebay/skin": minor
---

feat(lightbox): add divider over footer
3 changes: 2 additions & 1 deletion dist/lightbox-dialog/lightbox-dialog.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@
}

.lightbox-dialog__footer {
border-top: 1px solid
var(--dialog-lightbox-separator-color, var(--color-stroke-subtle));
display: flex;
flex-direction: column;
justify-content: center;
Expand Down Expand Up @@ -283,7 +285,6 @@ button.icon-btn.lightbox-dialog__prev {
.lightbox-dialog__window .lightbox-dialog__footer {
flex-direction: row;
justify-content: flex-end;
padding: 0 var(--spacing-200) var(--spacing-200);
}
.lightbox-dialog__window .lightbox-dialog__footer > :not(:first-child) {
margin-left: var(--spacing-100);
Expand Down
3 changes: 3 additions & 0 deletions src/sass/lightbox-dialog/lightbox-dialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@

.lightbox-dialog__footer {
@include dialog-footer-content();

border-top: 1px solid
var(--dialog-lightbox-separator-color, var(--color-stroke-subtle));
}

.lightbox-dialog__image {
Expand Down
1 change: 0 additions & 1 deletion src/sass/mixins/private/_dialog-mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@
@mixin dialog-footer-content-large() {
flex-direction: row;
justify-content: flex-end;
padding: 0 var(--spacing-200) var(--spacing-200);

& > :not(:first-child) {
margin-left: var(--spacing-100);
Expand Down

0 comments on commit ed9a37a

Please sign in to comment.