-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(content-block): add story and fix issues (#11658)
### Related Ticket(s) #11624 (content-block) ### Description This creates a story for content-block and updates the spacing for the component. ### Changelog **New** - Story and data folder with content **Changed** - link-list - heading had extra styling indenting it at md breakpoint -> this was removed to stay in grid - had padding at the bottom if last-of-type this was removed since not necessary in content-block - content-block - lots of style updates - bottom and top spacing converted from padding to margins - accounting for different paddings at each breakpoint and with/without border - all children components are slotted unless the fall in the gutter (i.e. cards and tabs-) - when there is a card cta and the child in content-block is a card-group that card cta will align to the grid-mode the card-group is in - headings and copies have a max-inline-size - moved most of the content-block styles inside the styles package - readme updates to explain to adopters it should be in a 12 column grid - content-group/item - both now only have bottom margins if there are multiple together OR if single have no bottom/top margins - cta-block - there was an extra row-gap causing additional spacing - leadspace block - because of content-block updates needed to adjust some styling to stay in line **Removed** - border from content-items in cta-block <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) -->
- Loading branch information
1 parent
e21badd
commit 27e362d
Showing
12 changed files
with
841 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.