@nice-digital/nds-action-banner 4.0.13 → 4.0.15-alpha.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@nice-digital/nds-action-banner",
3
- "version": "4.0.13",
3
+ "version": "4.0.15-alpha.0",
4
4
  "description": "Action banner component for the NICE Design System",
5
5
  "keywords": [
6
6
  "banner"
@@ -47,5 +47,5 @@
47
47
  "@types/node": "^18.11.9",
48
48
  "typescript": "^4.8.4"
49
49
  },
50
- "gitHead": "af6e9e657f3a31c6d35b7a1fb2dfddae2b2a833b"
50
+ "gitHead": "ee4562b5008a6e985195bf129f2c0a9580799062"
51
51
  }
@@ -67,7 +67,7 @@
67
67
  @include layout.fullWidth();
68
68
  @include typography.links-default;
69
69
  background: colours.$action-banner-full-width-background;
70
- border: 1px solid colours.$action-banner-full-width-border;
70
+ border: 0;
71
71
  color: colours.$text-inverse;
72
72
  padding: 0;
73
73
 
@@ -101,9 +101,14 @@
101
101
  @include focus.default-button-focus;
102
102
  }
103
103
 
104
+ .action-banner__text {
105
+ position: relative;
106
+ z-index: 1;
107
+ }
108
+
104
109
  &__image-container {
105
110
  aspect-ratio: 16 / 9;
106
- background-position: center center;
111
+ background-position: center;
107
112
  background-size: cover;
108
113
  display: block;
109
114
  height: 100%;
@@ -179,6 +184,12 @@
179
184
  z-index: 1;
180
185
  }
181
186
  }
187
+
188
+ @include media-queries.mq($from: md) {
189
+ .action-banner__text {
190
+ width: 66%;
191
+ }
192
+ }
182
193
  }
183
194
 
184
195
  &__text {