-
Notifications
You must be signed in to change notification settings - Fork 158
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
Web Components: Align to non-gutter grid line and use CSS grid #4174
Labels
dev
Needs some dev work
epic
package: web components
Work necessary for the IBM.com Library web components package
priority: high
Comments
asudoh
added
dev
Needs some dev work
package: web components
Work necessary for the IBM.com Library web components package
labels
Oct 8, 2020
29 tasks
asudoh
added a commit
to asudoh/ibm-dotcom-library
that referenced
this issue
Dec 18, 2020
Changes style of feature card to ensure it's aligned to grid line without gutter. The style of feature card used to have adjustments (e.g. by negative margin) to adjust for its surrounding grid gutter, which is removed with this change. Refs carbon-design-system#4174.
kodiakhq bot
pushed a commit
that referenced
this issue
Dec 23, 2020
### Related Ticket(s) Refs #4174. ### Description Changes style of feature card to ensure it's aligned to grid line without gutter. The style of feature card used to have adjustments (e.g. by negative margin) to adjust for its surrounding grid gutter, which is removed with this change. ### Changelog **New** - Simplified Carbon grid style for stories. **Changed** - Fixed feature card to ensure it's aligned to grid line (without gutter). **Removed** - Style adjustments in feature card (e.g. by negative margin) to adjust for its surrounding grid gutter.
After investigation, @asudoh notes that this is more like 20+ story points and should be converted into an epic. The team discussed and we are ok to move this out of #4100 and will target a future minor release (tentatively v1.1.0). @RobertaJHahn let's add this to the next engineering refinement meeting to break this work down, tentatively begin the work in sprint 21-02. |
kodiakhq bot
pushed a commit
that referenced
this issue
Jan 22, 2021
### Related Ticket(s) Refs #4174. ### Description Updates `<dds-content-block-simple>` to use CSS grid for layout so it properly alignes to Carbon grid lines considering contents both one using gutter and one not using gutter. ### Changelog **Changed** - `<dds-content-block-simple>` to use CSS grid for layout. - `<dds-content-block-simple>` story: - Use `<dds-card-cta>` instead of `<dds-text-cta>`. - Use `<dds-image-with-caption>` instead of `<dds-image>`. - `<dds-callout-media>` so it won't be affected by change in `<dds-content-block-simple>`. - Several fixes to `<dds-link-list>`: - Ensure the max width calculation is based on the content. - Eliminate negative margin adjustment for Web Components to ensure it doesn't rely on certain padding in the parent container. - Fix icon placement of `<dds-link-list-item-cta>`.
RobertaJHahn
changed the title
Components: Investigate the requirement of grid usage
Web Components: Investigate the requirement of grid usage
Jan 29, 2021
RobertaJHahn
changed the title
Web Components: Investigate the requirement of grid usage
Web Components: Align to non-gutter grid line and use CSS grid
Feb 10, 2021
IgnacioBecerra
pushed a commit
to IgnacioBecerra/ibm-dotcom-library
that referenced
this issue
Feb 22, 2021
…ystem#4859) ### Related Ticket(s) Refs carbon-design-system#4174. ### Description Updates `<dds-content-block-simple>` to use CSS grid for layout so it properly alignes to Carbon grid lines considering contents both one using gutter and one not using gutter. ### Changelog **Changed** - `<dds-content-block-simple>` to use CSS grid for layout. - `<dds-content-block-simple>` story: - Use `<dds-card-cta>` instead of `<dds-text-cta>`. - Use `<dds-image-with-caption>` instead of `<dds-image>`. - `<dds-callout-media>` so it won't be affected by change in `<dds-content-block-simple>`. - Several fixes to `<dds-link-list>`: - Ensure the max width calculation is based on the content. - Eliminate negative margin adjustment for Web Components to ensure it doesn't rely on certain padding in the parent container. - Fix icon placement of `<dds-link-list-item-cta>`.
asudoh
added a commit
to asudoh/ibm-dotcom-library
that referenced
this issue
Mar 13, 2021
As we finished migrating all content patterns to the new layout aligning to non-gutter grid, updates the base classes to the new one, that finishes the migration. Refs carbon-design-system#4174.
kodiakhq bot
pushed a commit
that referenced
this issue
Mar 18, 2021
### Related Ticket(s) Refs #4174. ### Description As we finished migrating all content patterns to the new layout aligning to non-gutter grid, updates the base classes to the new one, that finishes the migration. ### Changelog **Changed** - `DDSContentBlock`/`DDSContentGroup` abstract classes to use the new layout of content pattern, aligning to non-gutter grid.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
dev
Needs some dev work
epic
package: web components
Work necessary for the IBM.com Library web components package
priority: high
The problem
Some components, like feature card and video player, does not work unless they are put in a Carbon grid or a similar style. OTOH, some components, like callout, creates grid by itself.
The solution
Understand the rationals behind it. Some possibilities:
The text was updated successfully, but these errors were encountered: