@carbon/ibmdotcom-styles 2.27.0-rc.0 → 2.28.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/ibmdotcom-styles",
3
3
  "description": "Carbon for IBM.com Styles",
4
- "version": "2.27.0-rc.0",
4
+ "version": "2.28.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/ibm-dotcom-styles.min.css",
7
7
  "module": "src/scss",
@@ -48,5 +48,5 @@
48
48
  "sass": "~1.84.0",
49
49
  "sass-loader": "^13.0.0"
50
50
  },
51
- "gitHead": "82c2f1a87780029c48aecb0d1c62aeff2703d132"
51
+ "gitHead": "a96f566a39dc988478e45736103c0628ac324afe"
52
52
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2024
2
+ * Copyright IBM Corp. 2016, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -109,4 +109,48 @@
109
109
  margin: $spacing-05;
110
110
  }
111
111
  }
112
+
113
+ :host(#{$c4d-prefix}-callout-quote[appearance='card']) {
114
+ @include breakpoint-down(md) {
115
+ padding-block-end: 0;
116
+
117
+ div.cds--quote__source {
118
+ margin-block: 1rem -1rem;
119
+ margin-inline-start: -2rem;
120
+ }
121
+
122
+ div.cds--quote__footer {
123
+ margin-inline-start: -2rem;
124
+
125
+ /* stylelint-disable-next-line */
126
+ > c4d-hr {
127
+ /* stylelint-disable-next-line */
128
+ margin-right: -0.1rem;
129
+ margin-inline-end: 2rem;
130
+ }
131
+ }
132
+
133
+ .cds--quote__wrapper > blockquote > .cds--quote__source,
134
+ .cds--quote__wrapper > blockquote > .cds--quote__footer {
135
+ display: block;
136
+ }
137
+
138
+ .cds--quote__wrapper .cds--quote__source,
139
+ .cds--quote__wrapper .cds--quote__footer {
140
+ display: none;
141
+ }
142
+ }
143
+
144
+ @include breakpoint-up(md) {
145
+ .cds--quote__wrapper > blockquote > .cds--quote__source,
146
+ .cds--quote__wrapper > blockquote > .cds--quote__footer {
147
+ display: none;
148
+ }
149
+
150
+ .cds--quote__wrapper .cds--quote__source,
151
+ .cds--quote__wrapper .cds--quote__footer {
152
+ display: block;
153
+ }
154
+ }
155
+ }
112
156
  }
@@ -115,7 +115,7 @@ $aspect-ratios: ((16, 9), (9, 16), (2, 1), (1, 2), (4, 3), (3, 4), (1, 1));
115
115
 
116
116
  .#{$c4d-prefix}--video-player__video-container {
117
117
  position: relative;
118
- display: inline-block;
118
+ display: block;
119
119
  inline-size: 100%;
120
120
 
121
121
  &:focus {