Skip to content

Commit

Permalink
Fix overflow behaviour for version warning banner (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
dphfox authored Dec 26, 2023
2 parents 7e5f5a7 + 7ec9fbe commit 3d54b0b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/assets/overrides/main.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% extends "base.html" %}

{% block announce %}
This information is for a newer, unreleased version of Fusion. Use the version
switcher if you're not on Fusion's dev branch.
This information is for a newer, unreleased version of Fusion.
Use the version switcher if you're not on Fusion's dev branch.
{% endblock %}

{% block fonts %}
Expand Down
5 changes: 5 additions & 0 deletions docs/assets/theme/page.css
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@
color: var(--fusiondoc-bg-1);
}

.md-banner {
overflow-x: hidden;
text-align: center;
}

.md-banner__inner {
position: relative;
max-width: 100%;
Expand Down

0 comments on commit 3d54b0b

Please sign in to comment.