Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .changeset/cool-bugs-chew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@db-ux/core-components": patch
"@db-ux/ngx-core-components": patch
"@db-ux/react-core-components": patch
"@db-ux/v-core-components": patch
"@db-ux/wc-core-components": patch
---

fix(card): Remove the obsolete but harmful declaration regarding wrapping button and link styles.
10 changes: 8 additions & 2 deletions packages/components/src/components/card/card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@
@use "@db-ux/core-foundations/build/styles/helpers";
@use "../../styles/internal/component";

:is(a, button) {
:is(a[href], button) {
// Resetting button and link specific declarations
&:has(.db-card) {
all: unset;
text-decoration: unset;
margin: unset;
border: unset;
background-color: transparent;
padding: unset;
font: inherit;
}

@include helpers.hover {
Expand Down
Loading