Skip to content

Commit fe75ff5

Browse files
get rid of non-integer image sizes
1 parent 906aedd commit fe75ff5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/devextreme-cli/src/templates/nextjs/sample-pages/profile/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ export default function Page() {
3232
src={`https://js.devexpress.com/Demos/WidgetsGallery/JSDemos/${
3333
employee.Picture
3434
}`}
35-
width={93.5}
36-
height={120}
35+
width={374}
36+
height={480}
3737
/>
3838
</div>
3939
<span>{notes}</span>

packages/devextreme-cli/src/templates/nextjs/sample-pages/profile/profile.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
img {
1414
height: 120px;
15+
width: auto;
1516
display: block;
1617
margin: 0 auto;
1718
}

0 commit comments

Comments
 (0)