fix: long headlines on mobile screens

This commit is contained in:
Stefan Imhoff
2022-06-28 09:27:38 +02:00
parent ab1a5f62e0
commit f4be5a0da5
9 changed files with 10 additions and 10 deletions

View File

@@ -51,7 +51,7 @@ module.exports = function (config) {
Object.keys(filters).forEach((filterName) => { Object.keys(filters).forEach((filterName) => {
config.addFilter(filterName, filters[filterName]); config.addFilter(filterName, filters[filterName]);
}); });
config.addFilter('nbsp', filterNbsp(2, 15)); config.addFilter('nbsp', filterNbsp(2, 10));
// Watch for changes and reload // Watch for changes and reload
config.addWatchTarget('src/assets'); config.addWatchTarget('src/assets');

View File

@@ -19,7 +19,7 @@
--font-size-4: clamp(1.25rem, 1.8vw, 2rem); --font-size-4: clamp(1.25rem, 1.8vw, 2rem);
--font-size-5: clamp(1.5rem, 2.9vw, 3.25rem); --font-size-5: clamp(1.5rem, 2.9vw, 3.25rem);
--font-size-6: clamp(2.25rem, 4.7vw, 5.3rem); --font-size-6: clamp(2.25rem, 4.7vw, 5.3rem);
--font-size-7: clamp(3.3rem, 7.3vw, 8.5rem); --font-size-7: clamp(3rem, 7.3vw, 8.5rem);
--font-size-8: clamp(4.5rem, 12.2vw, 13.87rem); --font-size-8: clamp(4.5rem, 12.2vw, 13.87rem);
--font-size-9: clamp(5.5rem, 28.7vw, 22.43rem); --font-size-9: clamp(5.5rem, 28.7vw, 22.43rem);

View File

@@ -9,9 +9,9 @@
<title> <title>
{%- if isHome -%} {%- if isHome -%}
{{ site.title }} · {{ localizedDescription }} {{ site.title | replace("&shy;", "") }} · {{ localizedDescription }}
{%- else -%} {%- else -%}
{{ title }} · {{ site.title }} · {{ localizedDescription }} {{ title | replace("&shy;", "") }} · {{ site.title }} · {{ localizedDescription }}
{%- endif -%} {%- endif -%}
</title> </title>

View File

@@ -1,5 +1,5 @@
--- ---
title: "Einbruchswerkzeuge" title: "Einbruchs&shy;werkzeuge"
priority: 410 priority: 410
date: 2006-04-01T17:46:00+02:00 date: 2006-04-01T17:46:00+02:00
author: "Stefan Imhoff" author: "Stefan Imhoff"

View File

@@ -1,5 +1,5 @@
--- ---
title: "Feuerwerkzeuge" title: "Feuer&shy;werkzeuge"
priority: 420 priority: 420
date: 2006-04-01T17:49:00+02:00 date: 2006-04-01T17:49:00+02:00
author: "Stefan Imhoff" author: "Stefan Imhoff"

View File

@@ -1,5 +1,5 @@
--- ---
title: "Kletterwerkzeuge" title: "Kletter&shy;werkzeuge"
priority: 415 priority: 415
date: 2006-04-01T17:47:00+02:00 date: 2006-04-01T17:47:00+02:00
author: "Stefan Imhoff" author: "Stefan Imhoff"

View File

@@ -1,5 +1,5 @@
--- ---
title: "Ninjakleidung" title: "Ninja&shy;kleidung"
priority: 425 priority: 425
date: 2006-04-01T17:50:00+02:00 date: 2006-04-01T17:50:00+02:00
author: "Stefan Imhoff" author: "Stefan Imhoff"

View File

@@ -1,5 +1,5 @@
--- ---
title: "Trainingsfaktoren" title: "Trainings&shy;faktoren"
priority: 320 priority: 320
date: 2006-03-28T17:30:01+02:00 date: 2006-03-28T17:30:01+02:00
author: "Stefan Imhoff" author: "Stefan Imhoff"

View File

@@ -1,5 +1,5 @@
--- ---
title: "Wasserwerkzeuge" title: "Wasser&shy;werkzeuge"
priority: 405 priority: 405
date: 2006-04-01T17:44:00+02:00 date: 2006-04-01T17:44:00+02:00
author: "Stefan Imhoff" author: "Stefan Imhoff"