Fix #3904, #3884: fix website horizontal overflow

This commit is contained in:
Jeremy Thomas 2024-09-18 12:28:20 +01:00
parent 9a1b620195
commit 1bc01f2676
5 changed files with 30 additions and 20 deletions

View File

@ -1,5 +1,11 @@
# Bulma Changelog # Bulma Changelog
## 1.0.3
### Bug fixes
- Fix #3904, #3884: fix website horizontal overflow
## 1.0.2 ## 1.0.2
### Improvements ### Improvements

View File

@ -1,5 +1,5 @@
{% assign link = site.data.links.by_id[include.link_id] %} {% assign link = site.data.links.by_id[include.link_id] %} {% assign cleanpath =
{% assign cleanpath = link.path | remove: '/' %} link.path | remove: '/' %}
<a <a
class=" class="
@ -17,12 +17,19 @@
{% endif %} {% endif %}
" "
title="{{ link.subtitle | strip_html }}" title="{{ link.subtitle | strip_html }}"
{% if link.href %} {%
if
link.href
%}
href="{{ link.href }}" href="{{ link.href }}"
target="_blank" target="_blank"
{% else %} {%
else
%}
href="{{ site.url }}{{ link.path }}" href="{{ site.url }}{{ link.path }}"
{% endif %} {%
endif
%}
> >
<span class="icon"> <span class="icon">
<i class="{{ link.icon }}"></i> <i class="{{ link.icon }}"></i>
@ -33,12 +40,7 @@
{% if link.long_name %} {% if link.long_name %}
<span class="is-hidden-fullhd">{{ link.name }}</span> <span class="is-hidden-fullhd">{{ link.name }}</span>
<span class="is-hidden is-block-fullhd">{{ link.long_name }}</span> <span class="is-hidden is-block-fullhd">{{ link.long_name }}</span>
{% else %} {% else %} {{ link.name }} {% endif %}
{{ link.name }}
{% endif %}
{% if include.link_id == "shop" %}
<span class="tag is-success ml-1">New!</span>
{% endif %}
</span> </span>
{% endunless %} {% endunless %}
</a> </a>

View File

@ -38,6 +38,7 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: var(--p); gap: var(--p);
overflow: hidden;
} }
.bd-docs-button { .bd-docs-button {

View File

@ -33628,6 +33628,7 @@ has-background-moon.is-hoverable:active {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: var(--p); gap: var(--p);
overflow: hidden;
} }
.bd-docs-button { .bd-docs-button {

File diff suppressed because one or more lines are too long