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

Mixin for #sizedImgDiv added #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions iron-image.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@

Custom property | Description | Default
----------------|-------------|----------
`--iron-image-sized-img` | Mixin applied to #sizedImageDiv | `{}`
`--iron-image-placeholder` | Mixin applied to #placeholder | `{}`
`--iron-image-width` | Sets the width of the wrapped image | `auto`
`--iron-image-height` | Sets the height of the wrapped image | `auto`
Expand All @@ -82,6 +83,8 @@
@apply(--layout-fit);

display: none;

@apply(--iron-image-sized-img);
}

#img {
Expand Down