From 51fc61be23877541ec3f0f1a71ebb08181d2598b Mon Sep 17 00:00:00 2001 From: j Date: Tue, 12 Oct 2021 10:41:57 +0100 Subject: [PATCH] hide long title on mobile --- app/static/css/partials/_layout.scss | 6 ++++++ app/templates/base.html | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/app/static/css/partials/_layout.scss b/app/static/css/partials/_layout.scss index 973fe70..a014708 100644 --- a/app/static/css/partials/_layout.scss +++ b/app/static/css/partials/_layout.scss @@ -29,3 +29,9 @@ nav { color: #fff; } } + +@media screen and (max-width: 799px) { + .hide-mobile { + display: none; + } +} diff --git a/app/templates/base.html b/app/templates/base.html index fd0d0f9..460fd44 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -5,7 +5,7 @@ {% block title %} - Phantas.ma/polis – 2021 Asian Art Biennial + Phantas.ma/polis - Looking Back to the Future {% endblock title %} @@ -14,7 +14,7 @@
- Phantas.ma/polis: Looking Back to the Future + Phantas.ma/polis: Looking Back to the Future
未竟之城:回顧未來