Skip to content

Commit 7c8732a

Browse files
authored
fix: elevation for cards (#212)
1 parent b51360f commit 7c8732a

File tree

5 files changed

+11
-12
lines changed

5 files changed

+11
-12
lines changed

.stylelintrc.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"declaration-property-value-disallowed-list": null,
1818
"scss/percent-placeholder-pattern": null,
1919
"scss/at-mixin-pattern": null,
20-
"order/properties-alphabetical-order": null,
2120
"scss/at-import-partial-extension": null
2221
}
2322
}

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"license": "Apache-2.0",
5757
"dependencies": {
5858
"@csstools/normalize.css": "^12.0.0",
59-
"@db-ui/base": "2.0.0-15-344f053"
59+
"@db-ui/base": "2.0.0-17-7e98291"
6060
},
6161
"devDependencies": {
6262
"@babel/cli": "^7.19.3",

source/_patterns/01-elements/buttons/button.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
font-weight: 700;
2121
justify-content: center;
2222
min-height: $db-sizing-md;
23+
min-width: $db-sizing-md;
2324
padding: $db-spacing-fixed-xs $db-spacing-fixed-md;
2425

2526
text-align: center;
@@ -49,7 +50,6 @@
4950
// Square icon only buttons
5051
&.is-icon-text-replace {
5152
padding: 0;
52-
width: $db-sizing-md;
5353
}
5454

5555
&:not([data-variant]),

source/_patterns/02-components/cards/card.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
);
1515

1616
border-radius: 8px;
17-
box-shadow: $db-elevation-4;
17+
box-shadow: $db-elevation-3;
1818
padding: $db-spacing-fixed-md;
1919

2020
& > a {
@@ -30,7 +30,7 @@
3030
&[data-variant="ia"] {
3131
&:hover {
3232
cursor: pointer;
33-
box-shadow: $db-elevation-8;
33+
box-shadow: $db-elevation-4;
3434
}
3535

3636
&:active {

0 commit comments

Comments
 (0)