diff --git a/app/static/css/partials/_film.scss b/app/static/css/partials/_film.scss index ea576a2..e054d8a 100755 --- a/app/static/css/partials/_film.scss +++ b/app/static/css/partials/_film.scss @@ -21,6 +21,14 @@ h2 { margin-bottom: var(--spacing); } + @media screen and (max-width: 799px) { + h1, h2 { + span { + display: block; + line-height: 1.3; + } + } + } } } } diff --git a/app/templates/base.html b/app/templates/base.html index e3e0a7b..2d500ad 100755 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -22,9 +22,9 @@
diff --git a/app/templates/films.html b/app/templates/films.html index 6e69f00..a8b07f5 100644 --- a/app/templates/films.html +++ b/app/templates/films.html @@ -4,11 +4,14 @@ {% for film in films %}

- {{ film.data.title | safe }} - - {{ film.data.title_zh | safe }} + {{ film.data.title | safe }} + {{ film.data.title_zh | safe }}

-

{{ film.data.director|join:" "|safe }}

+

+ {% for director in film.data.director %} + {{ director|safe }} + {% endfor %} +

{% endfor %}