@kartverket/backstage-plugin-risk-scorecard 6.9.3 → 6.9.5

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.
Files changed (2) hide show
  1. package/css/theme.css +12 -0
  2. package/package.json +1 -1
package/css/theme.css CHANGED
@@ -171,3 +171,15 @@ Remember to prefix custom styles with 'ros-' to avoid conflicts with other plugi
171
171
  background-color: var(--ros-gray-dark-card);
172
172
  }
173
173
  }
174
+
175
+ /*
176
+ TODO: Remove this when backstage-ui hits v0.15, which contains a fix.
177
+ Fix for Firefox: the @backstage/ui Card component uses a scroll-fade gradient
178
+ (::before on CardBody) controlled by animation-timeline: scroll(). Firefox does
179
+ not support scroll-driven animations, so the gradient becomes permanently visible
180
+ as a white stripe. Hide it in unsupported browsers. */
181
+ @supports not (animation-timeline: scroll()) {
182
+ .bui-Card:has(.bui-CardHeader) .bui-CardBody::before {
183
+ display: none;
184
+ }
185
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kartverket/backstage-plugin-risk-scorecard",
3
- "version": "6.9.3",
3
+ "version": "6.9.5",
4
4
  "main": "dist/index.esm.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "MIT",