From 3af4f66e6c2f27627412fc9710566d0c82d3fdf1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Bedna=C5=99=C3=ADk?= <jan.bednarik@gmail.com>
Date: Wed, 17 Feb 2021 17:33:35 +0100
Subject: [PATCH] uniweb: Fix titles

---
 uniweb/templates/uniweb/blocks/advanced_title.html      | 4 ++--
 uniweb/templates/uniweb/blocks/title.html               | 4 ++--
 uniweb/templates/uniweb/uniweb_article_page.html        | 2 +-
 uniweb/templates/uniweb/uniweb_articles_index_page.html | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/uniweb/templates/uniweb/blocks/advanced_title.html b/uniweb/templates/uniweb/blocks/advanced_title.html
index c230dae8..8ea3ba28 100644
--- a/uniweb/templates/uniweb/blocks/advanced_title.html
+++ b/uniweb/templates/uniweb/blocks/advanced_title.html
@@ -1,5 +1,5 @@
 {% if first %}
-<h1 class="head-alt-md md:head-alt-lg max-w-5xl px-4 pt-4 pb-2 {{ css_class|join:" " }}">{{ block.value.title }}</h1>
+<h1 class="head-alt-md md:head-alt-lg px-4 pt-4 pb-2 {{ css_class|join:" " }}">{{ block.value.title }}</h1>
 {% else %}
-<h1 class="head-alt-md md:head-alt-lg max-w-5xl px-4 pt-4 pb-2 lg:mt-16 {{ css_class|join:" " }}">{{ block.value.title }}</h1>
+<h1 class="head-alt-md md:head-alt-lg px-4 pt-4 pb-2 lg:mt-16 {{ css_class|join:" " }}">{{ block.value.title }}</h1>
 {% endif %}
diff --git a/uniweb/templates/uniweb/blocks/title.html b/uniweb/templates/uniweb/blocks/title.html
index 66816eb1..94b97347 100644
--- a/uniweb/templates/uniweb/blocks/title.html
+++ b/uniweb/templates/uniweb/blocks/title.html
@@ -1,5 +1,5 @@
 {% if first %}
-<h1 class="head-alt-md md:head-alt-lg max-w-5xl mb-4 px-4">{{ block.value }}</h1>
+<h1 class="head-alt-md md:head-alt-lg mb-4 px-4">{{ block.value }}</h1>
 {% else %}
-<h1 class="head-alt-md md:head-alt-lg max-w-5xl px-4 pt-4 pb-2 lg:mt-16">{{ block.value }}</h1>
+<h1 class="head-alt-md md:head-alt-lg px-4 pt-4 pb-2 lg:mt-16">{{ block.value }}</h1>
 {% endif %}
diff --git a/uniweb/templates/uniweb/uniweb_article_page.html b/uniweb/templates/uniweb/uniweb_article_page.html
index b96dc2ed..93f5fac3 100644
--- a/uniweb/templates/uniweb/uniweb_article_page.html
+++ b/uniweb/templates/uniweb/uniweb_article_page.html
@@ -9,7 +9,7 @@
     <meta itemprop="datePublished" content="{{ page.first_published_at }}">
     <meta itemprop="dateModified" content="{{ page.last_published_at }}">
 
-    <h1 itemprop="headline" class="head-alt-md md:head-alt-lg max-w-5xl mb-4">{{ page.title }}</h1>
+    <h1 itemprop="headline" class="head-alt-md md:head-alt-lg mb-4">{{ page.title }}</h1>
 
     <div class="flex flex-col md:flex-row md:items-center">
       <div class="inline-flex divide-x flex-grow my-4">
diff --git a/uniweb/templates/uniweb/uniweb_articles_index_page.html b/uniweb/templates/uniweb/uniweb_articles_index_page.html
index cf06fcc1..4ba79769 100644
--- a/uniweb/templates/uniweb/uniweb_articles_index_page.html
+++ b/uniweb/templates/uniweb/uniweb_articles_index_page.html
@@ -4,7 +4,7 @@
 {% block content %}
 
 <section>
-  <h1 class="head-alt-md md:head-alt-lg max-w-5xl mb-4">{{ page.title }}</h1>
+  <h1 class="head-alt-md md:head-alt-lg mb-4">{{ page.title }}</h1>
 
   {% if tags %}
   <nav>
-- 
GitLab