@eeacms/volto-clms-theme 1.1.40 → 1.1.41

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,12 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ ### [1.1.41](https://github.com/eea/volto-clms-theme/compare/1.1.40...1.1.41) - 18 September 2023
8
+
9
+ #### :bug: Bug Fixes
10
+
11
+ - fix:use-case listing image size and use-case view image size [Ion Lizarazu - [`d162295`](https://github.com/eea/volto-clms-theme/commit/d162295d6911767d6b6b347e52f9c5cca9266920)]
12
+
7
13
  ### [1.1.40](https://github.com/eea/volto-clms-theme/compare/1.1.39...1.1.40) - 14 September 2023
8
14
 
9
15
  #### :rocket: New Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-clms-theme",
3
- "version": "1.1.40",
3
+ "version": "1.1.41",
4
4
  "description": "volto-clms-theme: Volto theme for CLMS site",
5
5
  "main": "src/index.js",
6
6
  "author": "CodeSyntax for the European Environment Agency",
@@ -48,10 +48,10 @@ const CLMSUseCaseView = (props) => {
48
48
  <Grid>
49
49
  <Grid.Row columns={2}>
50
50
  <Grid.Column width={3}>
51
- {content?.image?.scales?.mini?.download ? (
51
+ {content?.image?.scales?.preview?.download ? (
52
52
  <figure>
53
53
  <Image
54
- src={content?.image?.scales?.mini?.download}
54
+ src={content?.image?.scales?.preview?.download}
55
55
  alt={
56
56
  content?.image ? content?.image?.filename : 'Placeholder'
57
57
  }
@@ -722,6 +722,12 @@ main
722
722
  vertical-align: middle;
723
723
  }
724
724
 
725
+ .ui.fluid.card.u-card .image img.ui.image {
726
+ width: 100%;
727
+ height: 100%;
728
+ object-fit: cover;
729
+ }
730
+
725
731
  /* Search */
726
732
  .search-results {
727
733
  margin-bottom: 2rem;