Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Card group] Style bugs in Web components

See original GitHub issue
  1. Web Components – With Card in card story – grid mode narrow (16px): Screenshot 2021-06-01 at 12 38 39 Screenshot 2021-06-01 at 12 38 32 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.

  2. Web Components – With Card in card story – the collapsed grid has some spacing errors Screenshot 2021-06-01 at 12 43 34

  3. The same errors from 2 and 3 are visible for the With Card in card and Image cards story Screenshot 2021-06-01 at 12 44 22

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

kennylamcommented, Jan 6, 2022

Having reviewed the production version of this component’s With card in card and With 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

DragosRisticicommented, Oct 7, 2021

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:

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found