forked from binary-com/deriv-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #103 from suisin-deriv/suisin/pnv/notification_onc…
…lick_scroll_to_phone_field chore: refactor notification tray while onclick auto scroll to phone …
- Loading branch information
Showing
35 changed files
with
533 additions
and
508 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 4 additions & 38 deletions
42
packages/account/src/Sections/Profile/PersonalDetails/verify-button.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,7 @@ | ||
.phone-verification-btn { | ||
.phone-verification-button { | ||
position: absolute; | ||
inset-inline-end: 0; | ||
top: 0.4rem; | ||
|
||
&--not-verified { | ||
display: flex; | ||
padding-top: 0.6rem; | ||
padding-inline-end: 1.2rem; | ||
cursor: pointer; | ||
|
||
&--disabled { | ||
cursor: not-allowed; | ||
color: rgba(#ff444f, 0.5); | ||
} | ||
} | ||
|
||
&--verified { | ||
display: flex; | ||
padding-top: 0.6rem; | ||
padding-inline-end: 1.2rem; | ||
color: var(--text-profit-success); | ||
|
||
@include mobile-or-tablet-screen { | ||
padding-inline-end: 4rem; | ||
} | ||
|
||
> :first-child { | ||
padding-inline-end: 0.4rem; | ||
} | ||
|
||
.phone-verification__popover { | ||
position: absolute; | ||
inset-inline-end: -3rem; | ||
|
||
@include mobile-or-tablet-screen { | ||
inset-inline-end: 0rem; | ||
} | ||
} | ||
} | ||
top: 0; | ||
border-end-start-radius: 0; | ||
border-start-start-radius: 0; | ||
} |
Oops, something went wrong.