-
Notifications
You must be signed in to change notification settings - Fork 321
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
Fix Captcha styles, fix subscribe to product alignment, prevent custom styles from interfering with predefined widgets #2734
base: fui/master
Are you sure you want to change the base?
Conversation
…m styles from interfering with predefined widgets
@microsoft-github-policy-service agree company="Microsoft" |
src/components/products/product-subscribe/ko/runtime/product-subscribe.html
Outdated
Show resolved
Hide resolved
padding: 7px 10px 5px !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.
Please, move all this to another file. Let's keep this for just imports.
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.
Why? This seems as an appropriate file to import all specific widget styles as well as defining global widget styles as well.
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.
This file is not redesign specific. Please, create a new one and place it there.
Also, why .fui-FluentProvider is specified 3 times? Can we specify it once as old widgets don't have this class at all.
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.
This file is not redesign specific. Please, create a new one and place it there.
Where do we put redesign specific
files?
Also, why .fui-FluentProvider is specified 3 times?
Read a comment I written to it
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.
Where do we put
redesign specific
files?
There is a folder named fui right next to this file.
Read a comment I written to it
Ok. My bad. Let's leave like this.
[data-bind="widget: widget"] { | ||
.button { | ||
margin: 10px 20px 10px 0 !important; | ||
padding: 9px 50px !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.
50px seems like a very big number. Are you sure?
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 believe I just copied what I had by default
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.
padding: 7px 10px 5px !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.
This file is not redesign specific. Please, create a new one and place it there.
Also, why .fui-FluentProvider is specified 3 times? Can we specify it once as old widgets don't have this class at all.
.fui-FluentProvider.fui-FluentProvider.fui-FluentProvider { | ||
.button { | ||
margin: 10px 20px 10px 0; | ||
padding: 9px 50px; |
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 am still sure this 50px value is wrong for the redesign. I know you took it from old widgets. Please, check designs and come up with proper spacing. For everything you specify here, not just this padding.
No description provided.