Skip to content

Commit

Permalink
Fixed image sizing issues in admin modal
Browse files Browse the repository at this point in the history
  • Loading branch information
Roel van Hintum committed Nov 28, 2019
1 parent d70987a commit b4979f0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## 1.0.0-beta.6 - 2019-11-28
### Fixed
- Fixed image sizing issues in admin modal.

## 1.0.0-beta.5 - 2019-11-20
### Changed
- Changed CMS button label to 'Set hotspot position'.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "born05/craft-imagehotspots",
"description": "Image Hotspots fieldtype for Craft CMS",
"version": "1.0.0-beta.5",
"version": "1.0.0-beta.6",
"type": "craft-plugin",
"keywords": [
"hotspots",
Expand Down
8 changes: 8 additions & 0 deletions src/assetbundles/imagehotspotsfield/dist/css/Input.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@
display: block;
}

.image-hotspot-editor .align-height img {
height: 100%;
}

.image-hotspot-editor .align-width img {
width: 100%;
}

.image-hotspot-editor .point,
.image-hotspot-editor .current {
position: absolute;
Expand Down

0 comments on commit b4979f0

Please sign in to comment.