City pages: keep "Read more →" from wrapping mid-phrase (#114)
The Wikipedia "Read more →" link in the notable-weather section could break between "Read" and "more" at narrow widths. Join it with non-breaking spaces so it stays on one line. Claude-Session: https://claude.ai/code/session_01XXxmNFy9cZ6Gh8Y9thZn62
This commit is contained in:
parent
59f6e11694
commit
4db6760ce9
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@
|
||||||
{% if event %}
|
{% if event %}
|
||||||
<section class="city-event">
|
<section class="city-event">
|
||||||
<h2>Notable weather in {{ name }}</h2>
|
<h2>Notable weather in {{ name }}</h2>
|
||||||
<p>{{ event.text }}{% if event.url %} <a href="{{ event.url }}" rel="nofollow">Read more →</a>{% endif %}</p>
|
<p>{{ event.text }}{% if event.url %} <a href="{{ event.url }}" rel="nofollow">Read more →</a>{% endif %}</p>
|
||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue