Skip to content

Commit

Permalink
Adrienne / Changed border bottom color for order details page in resp…
Browse files Browse the repository at this point in the history
…onsive for dark mode (binary-com#6221)

* changed border bottom color for order details

* Changed border bottom color for buy-sell modal

Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com>
  • Loading branch information
adrienne-deriv and carolsachdeva committed Sep 27, 2022
1 parent c26f0d1 commit a96b137
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/p2p/src/components/buy-sell/buy-sell-modal.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
.buy-sell__modal {
opacity: 1 !important;

@include mobile {
.dc-mobile-full-page-modal__header--border-bottom {
border-bottom: 2px solid var(--general-section-1);
}
}

&-body {
position: relative;
display: block;
Expand Down
6 changes: 6 additions & 0 deletions packages/p2p/src/components/order-details/order-details.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ $card-width: 456px;
margin-bottom: 3rem;
}

@include mobile {
.dc-mobile-full-page-modal__header--border-bottom {
border-bottom: 2px solid var(--general-section-1);
}
}

&--body {
display: flex;
flex-direction: column;
Expand Down

0 comments on commit a96b137

Please sign in to comment.