Skip to content

Commit 62815ef

Browse files
authored
Fix product image sizes (#8)
1 parent 864f86f commit 62815ef

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

projects/ngx-appshell/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
A comprehensive Angular library providing pre-built UI components, directives, and schematics for building modern enterprise applications with Material Design.
44

5-
**Version:** 19.0.10
5+
**Version:** 19.0.11
66
**Angular:** >=19.0.0
77

88
## Features

projects/ngx-appshell/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opendevstack/ngx-appshell",
3-
"version": "19.0.10",
3+
"version": "19.0.11",
44
"description": "A comprehensive Angular library providing pre-built UI components, directives, and schematics for building modern enterprise applications with Material Design.",
55
"author": "OpenDevStack",
66
"repository": {

projects/ngx-appshell/src/lib/components/appshell-product-card/appshell-product-card.component.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
}
4242

4343
img {
44-
width: 2.5rem;
45-
height: 2.5rem;
44+
max-width: 2.5rem;
45+
max-height: 2.5rem;
4646
}
4747
}
4848
}

projects/ngx-appshell/src/lib/screens/appshell-product-view-screen/appshell-product-view-screen.component.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
.product-img img {
99
max-height: 7.5rem;
1010
max-width: 7.5rem;
11-
aspect-ratio: 1;
1211
height: fit-content;
1312
width: fit-content;
1413
min-height: 4rem;

0 commit comments

Comments
 (0)