-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: my account v2 (holidays) #18348
Conversation
…into feature/CXSPA-4442
As a customer, I want to view and update my preferred notification channels
format the code and other changes from code review comments
…into feature/CXSPA-4442
add cms config
@scarai-sap it will be @morganm58 taking over the CSS review, as he is the Spartacus Theme Owner. |
feature-libs/user/profile/styles/my-account-v2/_my-account-v2-email.scss
Outdated
Show resolved
Hide resolved
.myaccount-password-label { | ||
@include type(); | ||
min-width: 7.5rem; | ||
padding: 0 1.2rem 0 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Substitute padding-left
and padding-right
for padding-inline-start
and padding-inline-start
. We need these for directionality to work.
padding-top: 0
padding-inline-end: 1.2rem
padding-bottom: 0
padding-inline-start: 0
|
||
form { | ||
label { | ||
padding-bottom: 0.75rem !important; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid using !important. Can you make the scss more specific so you won't need to use !important.
} | ||
|
||
.consent-details { | ||
margin: 0 0 0 2.815rem; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Substitute margin-left and margin-right for margin-inline-start and margin-inline-start. We need these for directionality to work.
padding-top: 0
padding-inline-end: 0
padding-bottom: 0
padding-inline-start: 2.815rem
} | ||
|
||
.custom-switch { | ||
margin: 0 0 0 -2.25rem; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment as above
|
||
%cx-my-account-v2-notification-preference { | ||
.np-content-center { | ||
-ms-flex-pack: center !important; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid using !important
.
%cx-my-account-v2-notification-preference { | ||
.np-content-center { | ||
-ms-flex-pack: center !important; | ||
justify-content: center !important; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid using !important
for all instances.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added comments to a few of the scss files.
@morganm58 , all comments fixed |
…AP/spartacus into feature/my-account-v2-holidays
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Platonn LGTM.
No description provided.