[Card group] Style bugs in Web components
See original GitHub issue-
Web Components – With Card in card story – grid mode narrow (16px):
There is a right border for the first 2 cards that is applied to the dds-card-group-item which has padding instead of margin so the border is applied to the padding spacing also.
-
Web Components – With Card in card story – the collapsed grid has some spacing errors
-
The same errors from 2 and 3 are visible for the
With Card in card and Image cards
story
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Issues · adobe/spectrum-web-components - GitHub
[Bug]: When using Switch or Checkbox component in a table row, exception occur when the Switch or Checkbox is clicked bug Something isn't...
Read more >dynamic style-sheet adding in web component - Stack Overflow
I am trying to create a simple web component ...
Read more >lightning web components - LWC css is only partially applied
(In our real problem we are trying to manipulate the card header but can't access it. Not like demonstrated here, nor with using...
Read more >Why I don't use web components - DEV Community
You can literally do this: const element = document. querySelector('my-thing'); element. attributeChangedCallback('w', 't', 'f');
Read more >The Guide to Accessible Web Components | Erik Kroes
Building proper UI Web Components can be quite a task though, ... Global standards and conventions; Browser bugs and variations.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Having reviewed the production version of this component’s
With card in card
andWith card in card and image cards
variants, it appears these layout issues have been resolved. If these issues resurface, potential fixes can be found in #7409.cc: @emyarod @jeffchew
Hi @BrunnoM7
I re-QAed it again, and I just see this one now for
Card group – With card in card and image cards
story. When I switch to the collapsed grid, there is no top border for the cards – its image touching image. Also, when I switch back to a narrow grid, the 16px top spacing is not there. I don’t know if this second one is a Storybook bug, or a component bug, because the default story has a narrow grid. Here’s what I see: https://images.zenhubusercontent.com/193129061/dff6be3e-fae5-4bb1-bb22-bbdbcb6d8df3/card_group_with_card_in_card_and_image_cards.mov