Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #75 from eea/develop
Browse files Browse the repository at this point in the history
FISE Cards update
  • Loading branch information
andreiggr authored Jun 23, 2022
2 parents 3161f54 + eab340f commit 36c6f21
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 9 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,15 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [0.2.16](https://github.com/eea/volto-forests-theme/compare/0.2.15...0.2.16)

- dont navigate in edit & interactions [`94050c5`](https://github.com/eea/volto-forests-theme/commit/94050c5f6d5112910a8f3637a0c4b4e699a97c6e)

#### [0.2.15](https://github.com/eea/volto-forests-theme/compare/0.2.14...0.2.15)

> 22 June 2022
- Develop [`#73`](https://github.com/eea/volto-forests-theme/pull/73)
- Imagecards fise template [`#74`](https://github.com/eea/volto-forests-theme/pull/74)
- Init fise image cards template [`#72`](https://github.com/eea/volto-forests-theme/pull/72)
- check for blockrenders before using [`423c7c9`](https://github.com/eea/volto-forests-theme/commit/423c7c98d75aca0fcbf11993a51101d4f5013c4d)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eeacms/volto-forests-theme",
"version": "0.2.15",
"version": "0.2.16",
"description": "@eeacms/volto-forests-theme: Volto add-on",
"main": "src/index.js",
"author": "European Environment Agency: IDM2 A-Team",
Expand Down
5 changes: 3 additions & 2 deletions src/components/manage/Blocks/ImageCards/View.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@ const Cards = (props) => {
);

const handleNavigate = (link) => {
history.push(flattenToAppURL(link));
if (!props.editable) {
history.push(flattenToAppURL(link));
}
};

return cards && cards.length > 0 ? (
<div className={cx('ui fluid cards', gridSize)}>
{cards.map((item) => (
Expand Down
12 changes: 6 additions & 6 deletions src/components/manage/Blocks/ImageCards/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
}
}

.tile-listing-title:hover {
p {
color: #cc4400;
}
}

.tile-listing-description {
color: #666;
font-size: 14px;
}

.navigation-card:hover {
.tile-listing-title {
color: #cc4400;
}
}

0 comments on commit 36c6f21

Please sign in to comment.