From ad17100d12f40d9c8224ae3ca9faf8bd2bda24b4 Mon Sep 17 00:00:00 2001 From: rjzupkoii Date: Fri, 16 Feb 2024 20:47:49 -0500 Subject: [PATCH] #1041 allow links to wrap --- _includes/archive-single.html | 2 +- _pages/publications.md | 2 +- _sass/_utilities.scss | 8 ++++++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/_includes/archive-single.html b/_includes/archive-single.html index 25784719eb271..9c3e601e526e0 100644 --- a/_includes/archive-single.html +++ b/_includes/archive-single.html @@ -57,7 +57,7 @@

{% elsif post.citation %}

Recommended citation: {{ post.citation }}

{% elsif post.paperurl %} -

Download here

+

Download here

{% endif %} diff --git a/_pages/publications.md b/_pages/publications.md index d98c4a085a422..85a6033190d4e 100644 --- a/_pages/publications.md +++ b/_pages/publications.md @@ -6,7 +6,7 @@ author_profile: true --- {% if site.author.googlescholar %} - You can also find my articles on my Google Scholar profile. +
You can also find my articles on my Google Scholar profile.
{% endif %} {% include base_path %} diff --git a/_sass/_utilities.scss b/_sass/_utilities.scss index bac6054e4d0f0..c5d9f5ed84e5e 100644 --- a/_sass/_utilities.scss +++ b/_sass/_utilities.scss @@ -117,6 +117,14 @@ body:hover .visually-hidden button { @include container(); } +/* Source: http://snipplr.com/view/10979/css-cross-browser-word-wrap */ +.wordwrap { + white-space: pre-wrap; /* CSS3 */ + white-space: -moz-pre-wrap; /* Firefox */ + white-space: -pre-wrap; /* Opera <7 */ + white-space: -o-pre-wrap; /* Opera 7 */ + word-wrap: break-word; /* IE */ +} /* Images