-
Notifications
You must be signed in to change notification settings - Fork 102
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
Badge: the position of the badge is wrong #542
Comments
[redacted internal URL] |
@hramakumar Which browser and OS? I'm not seeing this issue on the Skin site. So maybe the issue is in the coreui layer or test page. |
@hramakumar We should not post internal eBay URLs in this repo or the Skin repo. |
@ianmcburnie I see it in all devices and browsers. in test page |
@seangates oh ok. got it. |
@hramakumar After further investigation it appears you might be missing the following class on the test page: Try changing this: <button aria-label="Menu (5000000000000 unread items)" type="button" class="icon-btn" data-ebayui="" data-widget="/@ebay/ebayui-core$2.0.0-2/dist/components/ebay-button/index" id="s0-0-16-4-426">..</button> To this: <button aria-label="Menu (5000000000000 unread items)" type="button" class="icon-btn icon-btn--badged" data-ebayui="" data-widget="/@ebay/ebayui-core$2.0.0-2/dist/components/ebay-button/index" id="s0-0-16-4-426">..</button> Fixes it for me: |
@ianmcburnie That should be added automatically by the button, though, right? |
(And I realized this after I transferred it.) |
We're missing some stuff that appears to have been caught in a bad merge/rebase: https://github.com/eBay/ebayui-core/pull/479/files#diff-f780e3139d3c687649c013136cdc9d0cR53 |
I'm going to transfer this back. |
Yeah, apologies. 😞 |
@seangates Good spot regarding the missing code. Is there an easy way to figure out everything that's missing? This one should be our highest priority. |
No easy way, other than going through the files line by line. Luckily, I know this code pretty well. It also shows that we should be very careful when we're merging/rebasing and have conflicts. Blame shows it's my fault, and I'm happy to take that blame, but there might have been another action throughout which showed the issue. |
Merged. |
Fix verified in demo page and marketplace. |
Bug Report
eBayUI Version: 2.0.0-2 and skin 7.0.0-5
Description
The position of the badge number is wrong when it comes with a button. it is expected to be towards right of the button but it is actually at the bottom of the button
Workaround
Screenshots
The text was updated successfully, but these errors were encountered: