We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 061197b commit 87a6f28Copy full SHA for 87a6f28
docs/demos/movies/index.html
@@ -70,7 +70,14 @@
70
border: 1px solid #ccc;
71
border-radius: 5px;
72
}
73
- /* Loading Indicator Styles */
+
74
+ .thumbnail {
75
+ display: block;
76
+ margin-left: auto;
77
+ margin-right: auto;
78
+ max-height: 300px;
79
+ }
80
81
.loading-indicator {
82
display: none;
83
font-size: 18px;
@@ -215,6 +222,7 @@ <h1 style="display: inline; margin-right: 20px;">Movie Browser</h1>
215
222
if (movie.depiction) {
216
223
const movieImage = document.createElement('img');
217
224
movieImage.src = movie.depiction;
225
+ movieImage.class = "thumbnail";
218
226
movieCard.appendChild(movieImage);
219
227
220
228
0 commit comments