Skip to content

feat!: constrain the image to the component's max height - #42

Open
paodb wants to merge 2 commits into
masterfrom
feat/image-max-height
Open

paodb wants to merge 2 commits into
masterfrom
feat/image-max-height

WIP: fit the image to the component's measured height

8895cf0
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Oct 21, 2026 in 24s

Annotations

Check warning on line 165 in src/main/resources/META-INF/frontend/src/image-crop.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseFloat` over `parseFloat`.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_ImageCrop&issues=AaFayBqBEdop_KTz_I3g&open=AaFayBqBEdop_KTz_I3g&pullRequest=42

Check warning on line 165 in src/main/resources/META-INF/frontend/src/image-crop.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseFloat` over `parseFloat`.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_ImageCrop&issues=AaFayBqBEdop_KTz_I3h&open=AaFayBqBEdop_KTz_I3h&pullRequest=42