Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Tabs & Tabs extended with media): adjust the layout to align with…
… the defined grid (#8394) ### Related Ticket(s) [[Tabs & Tabs extended with media]: Not on grid](#7815) ### Description 1. Tabs extended media: Contents of the component are not aligned to Carbon grid. **Current Canary web components:** ![image](https://user-images.githubusercontent.com/15144993/144798385-d6124585-b78e-41e9-bffd-59e5fb3c9ca7.png) **Expecting:** ![image](https://user-images.githubusercontent.com/15144993/144798590-8d961cc2-1831-4fbf-a085-4e13a63182d4.png) **Updated:** <img width="1354" alt="Screen Shot 2022-03-02 at 9 12 59 PM" src="https://user-images.githubusercontent.com/384598/156500707-700bd07c-07c5-4662-913e-6089ee6c317c.png"> 2. For Tabs extended, the individual tabs should be 2 columns wide. **Current:** ![image.png](https://images.zenhubusercontent.com/5be09c3a6102900c6d16d991/52368160-9d5e-49cf-bd6d-0c490eb83840) **Expecting:** ![image.png](https://images.zenhubusercontent.com/5be09c3a6102900c6d16d991/6d77531e-9c89-455f-a572-634aaf66ed0b) **Updated:** <img width="1354" alt="Screen Shot 2022-03-02 at 9 12 29 PM" src="https://user-images.githubusercontent.com/384598/156500747-a3c42fb8-3079-4e6a-9e2b-497b008863b7.png"> ### Notes As of this first pass, there are still some differences between the specs and the results, notably: 1. Tabs Extended with Media - The tab contents' image and text are not aligned to the grid - Some of the vertical margins of the tab contents are different 2. Tabs Extended - The tabs' text is not bottom aligned when they have multiple lines - The tab contents' text and cta block have some left misalignment due to inherited styles from the component it's using, Content Block Media I am unsure if the scope of this ticket includes addressing the above. <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) -->
- Loading branch information