Skip to content

Commit

Permalink
Update views_image.templ
Browse files Browse the repository at this point in the history
  • Loading branch information
damongolding authored Oct 19, 2024
1 parent 342c1ed commit 19f1b1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions views/views_image.templ
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ templ RenderImageWithContainFit(ImageData, imageFit string) {

css transformOrigin(value string) {
transform-origin: { value };
object-position: { value };
}

// smartZoom calculates the transform origin for an image based on detected faces.
Expand Down

0 comments on commit 19f1b1b

Please sign in to comment.