Skip to content

Commit 59329b4

Browse files
committed
feat(portfolio): add class to ios preview img
1 parent 0648c2e commit 59329b4

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

assets/articles/0047-introduction-to-swiftui-for-nativescript/introduction-to-swiftui-for-nativescript.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ image::img1.png[image]
172172
173173
== iOS Preview
174174
175+
[.small-img]
175176
image::img2.png[image]
176177
177178
== Advanced SwiftUI Integration

libs/route-pages/blog-portfolio/src/article.component.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ import { Subscription, of } from "rxjs";
2424
::ng-deep tbody tr:first-of-type {
2525
text-align: center;
2626
}
27+
::ng-deep.small-img {
28+
margin: auto;
29+
width: 40%
30+
}
2731
`],
2832
templateUrl: './article.component.html'
2933
})

0 commit comments

Comments
 (0)