@nice-digital/nds-action-banner 4.0.12 → 4.0.14

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.12",
3
+ "version": "4.0.14",
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": "3c4b73dbfe2e6e5756e68ead1fadf5d0749f0b99"
50
+ "gitHead": "257e567bced578ecc2f432b246e72fd4cf899ea8"
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
 
@@ -78,6 +78,7 @@
78
78
  }
79
79
 
80
80
  .action-banner__container {
81
+ @include layout.fullWidthContainer();
81
82
  min-height: 300px;
82
83
  padding-top: utils.rem(spacing.$x-large);
83
84
  padding-bottom: utils.rem(spacing.$x-large);
@@ -100,9 +101,15 @@
100
101
  @include focus.default-button-focus;
101
102
  }
102
103
 
104
+ .action-banner__text {
105
+ position: relative;
106
+ width: 66%;
107
+ z-index: 1;
108
+ }
109
+
103
110
  &__image-container {
104
111
  aspect-ratio: 16 / 9;
105
- background-position: center center;
112
+ background-position: center;
106
113
  background-size: cover;
107
114
  display: block;
108
115
  height: 100%;