This patch addresses #1649 to fix documentation layout. In fact there are multiple issues with the current layout.
1. Flex layout might have an issue with overflowing content. See https://codepen.io/gregorw/full/gOdqreo.
2. The props table at the bottom of each page doesn’t overflow and stretches the layout.
This minimal change fixes code snippets in such a way that they are wrapped on small screens, since `overflow-x: scroll` doesn’t seem to work with the flexbox layout used. See code pen for problem description and solution A. This fixes horizontal scrollbars on all pages that don’t have other issues such as a large non-overflowing props table at the bottom.
The prop table at the bottom needs a separate PR. Possible solutions are that we get overflow/scroll to work or that we change to the mobile table of contents earlier. Maybe using a non-flexbox layout would solve some of the problems, too. See solution B of code pen above.
* chore(deps): remove clipboard-copy
* feat: add copy prop, use navigator.clipboard API
* docs: add clipboard-copy back to docsite for more browser support
* docs(component-api): use outbound link
* docs: add override/prevent copy examples
* feat(code-snippet): add copy functionality
- docs: add custom feedback copy text example
* feat(tile): support disabled state for SelectableTile, RadioTile
Closes#539
* build(rollup): add clipboard-copy to globals
* feat(copy-button): add copy functionality
* feat(content-switcher): deprecate the light prop
- docs: remove the light variant example
* fix(toolbar-search): remove outer div
* feat(search): add searchClass prop
* fix(composed-modal): set hasScrollingContent class on ModalBody
* docs(data-table): add expandable size examples
* feat(tooltip): add TooltipFooter component
* fix(time-picker): correctly display invalidText
* feat(breadcrumb): support overflow menu
* feat(multi-select): export inputRef prop
* chore(deps-dev): upgrade carbon-components to v10.32.0
* feat(form): add noMargin prop to FormGroup
* docs(tooltip): document TooltipFooter
* feat(context-menu): support danger kind for ContextMenuOption
* feat(data-table): support rendering empty table header in skeleton
* refactor(types): use shorter import path in DataTableSkeleton
* feat(data-table): allow sorting to be disabled for a specific header
* docs(data-table): update example to desort the Protocol header
As an example, it makes more sense because all the values ("http") are the same.
* fix(context-menu): set initial y offset of context menu based on window height #577
* fix(context-menu): render submenu based on viewport constraints #577