-
Notifications
You must be signed in to change notification settings - Fork 273
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(ui5-split-button): fix split button when in wrapper #8037
Conversation
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.
Looks good to me.
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.
Did not test it, in respect to code - looks good to me.
Something that I noticed while reviewing (not directly related to the change, but still related to the Split Button styles),
that you can remove a lot of RTL styles by replacing border-left, border-right, border-* with their CSS logical props equivalents as shown in the table:
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values/Margins_borders_padding
Hi @ilhan007 , It is currently WIP regarding to the redunant RTL params. Thanks for pointing it out though. There are also few more, styling issues I would have to address as well. |
Hello @hinzzx, @ilhan007, @nnaydenow, I've identified the following two issues, which aren't related to the reported incident at all as I do not know what is the scope of the PR any longer:
The initial issue is found internally and looks like an edge case. Best regards, |
Hi there, as discussed offline, I just wanted to clarify that the text on the attention button in Fiori 3 is to remain black. |
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.
LGTM. Tested all themes in following scenarios:
- compact size
- rtl
- compact size + rtl
When our <ui5-split-button> is wrapped and a width is set to the wrapper, our <ui5-split-button> is not correctly displayed. With this change, we fix that issue and we also adopt the usage of CSS Logical Props, removing redunancies and reducing our CSS codе significantly.
When our <ui5-split-button> is wrapped and a width is set to the wrapper, our <ui5-split-button> is not correctly displayed. With this change, we fix that issue and we also adopt the usage of CSS Logical Props, removing redunancies and reducing our CSS codе significantly.
When our
<ui5-split-button>
is wrapped and a width is set to the wrapper, our<ui5-split-button>
is not correctly displayed.With this change, we fix that issue and we also adopt the usage of CSS Logical Props, removing redunancies and reducing our CSS code significantly.
Before:
After:
Fixes: #7659