@bonniernews/dn-design-system-web 14.3.3 → 14.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,13 @@ All changes to @bonniernews/dn-design-system-web will be documented in this file
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
## [14.3.4](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@14.3.3...@bonniernews/dn-design-system-web@14.3.4) (2024-03-15)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* **web:** move max-height styling to img element ([#1248](https://github.com/BonnierNews/dn-design-system/issues/1248)) ([811da42](https://github.com/BonnierNews/dn-design-system/commit/811da4268bacfbd2753ea01ac3836656ef8594d0))
|
|
13
|
+
|
|
7
14
|
## [14.3.3](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@14.3.2...@bonniernews/dn-design-system-web@14.3.3) (2024-03-14)
|
|
8
15
|
|
|
9
16
|
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
@use "../button-toggle/button-toggle.scss";
|
|
3
3
|
@use "../icon-button/icon-button.scss";
|
|
4
4
|
|
|
5
|
+
$ds-group-header__icon-size: 24px;
|
|
6
|
+
|
|
5
7
|
.ds-group-header {
|
|
6
8
|
--group-header-background: #{$ds-color-background-primary};
|
|
7
9
|
--group-header-color: #{$ds-color-text-primary};
|
|
@@ -74,8 +76,8 @@
|
|
|
74
76
|
}
|
|
75
77
|
|
|
76
78
|
.ds-group-header__icon {
|
|
77
|
-
height: ds-px-to-rem(
|
|
78
|
-
width: ds-px-to-rem(
|
|
79
|
+
height: ds-px-to-rem($ds-group-header__icon-size);
|
|
80
|
+
width: ds-px-to-rem($ds-group-header__icon-size);
|
|
79
81
|
color: var(--group-header-icon-color);
|
|
80
82
|
}
|
|
81
83
|
|
|
@@ -120,7 +122,11 @@
|
|
|
120
122
|
|
|
121
123
|
.ds-group-header__image {
|
|
122
124
|
margin-left: ds-spacing($ds-s-100);
|
|
123
|
-
|
|
125
|
+
|
|
126
|
+
.picture,
|
|
127
|
+
img {
|
|
128
|
+
max-height: ds-px-to-rem($ds-group-header__icon-size);
|
|
129
|
+
}
|
|
124
130
|
|
|
125
131
|
figure {
|
|
126
132
|
margin: 0;
|
|
@@ -111,7 +111,18 @@ $ds-list-item__icon-size: 24px;
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
.ds-list-item__image {
|
|
114
|
-
|
|
114
|
+
.picture,
|
|
115
|
+
img {
|
|
116
|
+
max-height: ds-px-to-rem($ds-list-item__icon-size);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@at-root .ds-force-px#{&} {
|
|
120
|
+
.picture,
|
|
121
|
+
img {
|
|
122
|
+
height: $ds-list-item__icon-size;
|
|
123
|
+
width: $ds-list-item__icon-size;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
115
126
|
|
|
116
127
|
figure {
|
|
117
128
|
margin: 0;
|
package/package.json
CHANGED