Skip to content

Commit 38a275f

Browse files
committed
Improve responsiveness of the practical work
1 parent 6295c84 commit 38a275f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/src/.vuepress/public/styles.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,12 @@ app-root {
215215

216216
.film {
217217
&.card {
218-
max-width: min(960px, 95vw);
218+
width: min(960px, 95vw);
219219
display: flex;
220220
flex-direction: row;
221221
justify-content: start;
222222
align-items: start;
223+
margin: 1em 0;
223224

224225
@media only screen and (max-width: 600px) {
225226
flex-direction: column;
@@ -257,6 +258,7 @@ app-root {
257258

258259
app-film-search {
259260
max-width: min(960px, 95vw);
261+
width: min(960px, 95vw);
260262

261263
label {
262264
margin-top: 0;
@@ -265,6 +267,7 @@ app-film-search {
265267

266268
form {
267269
padding: 1rem;
270+
margin: 1em 0;
268271
display: flex;
269272
flex-direction: row;
270273
align-items: center;
@@ -273,10 +276,11 @@ app-film-search {
273276

274277
app-film {
275278
display: flex;
276-
max-width: min(960px, 95vw);
279+
width: min(960px, 95vw);
277280
}
278281

279282
app-login-form {
280283
display: flex;
281284
flex-direction: column;
285+
align-items: stretch;
282286
}

0 commit comments

Comments
 (0)