Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MRG] add CSS to truncate long version string #1206

Merged
merged 2 commits into from
Dec 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions doc/_static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,16 @@ span.option {
.prev-next-bottom a.right-next {
text-align: right;
}

/* ************************************************* truncate version string */
div.navbar-item:first-child {
overflow-x: hidden;
}
a.navbar-brand.logo {
flex-shrink: 1;
overflow-x: hidden;
}
p.logo__title {
overflow-x: hidden;
text-overflow: ellipsis;
}
4 changes: 3 additions & 1 deletion doc/whats_new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Version 0.15 (unreleased)

The following authors contributed for the first time. Thank you so much! 🤩

* nobody yet
* `Daniel McCloy`_

The following authors had contributed before. Thank you for sticking around! 🤘

Expand Down Expand Up @@ -63,6 +63,8 @@ Detailed list of changes
- The package build backend has been switched from ``setuptools`` to ``hatchling``. This
only affects users who build and install MNE-BIDS from source, and should not lead to
changed runtime behavior, by `Richard Höchenberger`_ (:gh:`1204`)
- Display of the version number on the website is now truncated for over-long version strings,
by `Daniel McCloy`_ (:gh:`1206`)

:doc:`Find out what was new in previous releases <whats_new_previous_releases>`

Expand Down