-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
feat(b-media): improve aside right handling #5965
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(b-media): improve aside right handling #5965
Conversation
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/bootstrap-vue/bootstrap-vue/e2a3vtlzl |
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit ba1ac73:
|
jacobmllr95
left a comment
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 would prefer to generally add add media-aside class and a right prop to BMediaAside.
Based on the right prop, the media-aside-right class would be added.
This could then reset the the default margin-right on media-aside and set the margin-left.
The tests need also some adjustments.
|
hi @jackmu95, Thanks for your suggestions. I have made changes please review it and let me know if you have any issues or suggestions. Also, I don't know much about CI/CD and automated testing so pardon me. |
Codecov Report
@@ Coverage Diff @@
## dev #5965 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 289 289
Lines 9757 9757
Branches 2554 2554
=========================================
Hits 9757 9757
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
|
how to add 'mr-3' class when using aside slot. |
|
Hi, @zhnoah mr-3 class is converted into style. You can check the latest docs and inspect the component for new style. Regards. |
Describe the PR
This PR is a follow-up to #5121 and removes the usage of utility classes
<b-media>.It also introduces a new
rightprop on<b-media-aside>.PR checklist
What kind of change does this PR introduce? (check at least one)
fix(...), requires a patch version updatefeat(...), requires a minor version updatefeat(...), requires a minor version updatefix(...), requires a patch or minor version updatechore(docs), requires a patch version updateDoes this PR introduce a breaking change? (check one)
The PR fulfills these requirements:
devbranch, not themasterbranch[...] (fixes #xxx[,#xxx]), where "xxx" is the issue number)fix(alert): not alerting during SSR render,docs(badge): update pill examples,chore(docs): fix typo in README, etc.). This is very important, as theCHANGELOGis generated from these messages, and determines the next version type (patch or minor).If new features/enhancement/fixes are added or changed:
If adding a new feature, or changing the functionality of an existing feature, the PR's
description above includes: