diff --git a/CHANGES.rst b/CHANGES.rst index cfaa07ae472db2fd6d61a42fb65185c76fbcd3c9..0c3967f2e06208e8c47bb74ba8206072ac0ef764 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -8,7 +8,7 @@ Changes ======= -Version 2024.3 (released 2024-10-01, updated 2024-10-29) +Version 2024.3 (released 2024-10-01, updated 2024-11-26) - Replace `setuptools` with `hatchling` as build system - Clean up old built-up cruft @@ -16,6 +16,7 @@ Version 2024.3 (released 2024-10-01, updated 2024-10-29) - Fix frontpage override - Fix some new SonarQube complaints - Register admin menu entry for TUW users administration page +- Prevent the local login segment from being hidden on small screens Version 2024.2 (released 2024-06-24, updated 2024-09-17) diff --git a/invenio_theme_tuw/__init__.py b/invenio_theme_tuw/__init__.py index 8565c77098b940dc287c25c209b31d3c373aa702..d87e781291bc14db48c57a727d51d6d311afaa75 100644 --- a/invenio_theme_tuw/__init__.py +++ b/invenio_theme_tuw/__init__.py @@ -9,7 +9,7 @@ from .ext import InvenioThemeTUW -__version__ = "2024.3.2" +__version__ = "2024.3.3" __all__ = ( "__version__", diff --git a/invenio_theme_tuw/theme/assets/semantic-ui/less/invenio_theme_tuw/theme/collections/menu.overrides b/invenio_theme_tuw/theme/assets/semantic-ui/less/invenio_theme_tuw/theme/collections/menu.overrides index 69e2683c495dfc3b1fce9feea23fbe821ab32c30..834122fc18203e0ce5d46a50ddeb842c86735f28 100644 --- a/invenio_theme_tuw/theme/assets/semantic-ui/less/invenio_theme_tuw/theme/collections/menu.overrides +++ b/invenio_theme_tuw/theme/assets/semantic-ui/less/invenio_theme_tuw/theme/collections/menu.overrides @@ -70,6 +70,11 @@ header .ui.menu { align-items: center; display: none !important; + + /* fix the login segment for local login not being shown on small screens */ + &.segment { + display: flex !important; + } } .login:hover { diff --git a/invenio_theme_tuw/theme/templates/semantic-ui/invenio_theme_tuw/overrides/metrics.html b/invenio_theme_tuw/theme/templates/semantic-ui/invenio_theme_tuw/overrides/metrics.html index 477a91d6d033a802ae44adebd3b318238c55f9a6..7e265f7c971af47490db0caf77e41ce4e1900fbd 100644 --- a/invenio_theme_tuw/theme/templates/semantic-ui/invenio_theme_tuw/overrides/metrics.html +++ b/invenio_theme_tuw/theme/templates/semantic-ui/invenio_theme_tuw/overrides/metrics.html @@ -48,7 +48,6 @@ <div class="title"> <i class="caret right icon" aria-hidden="true"></i> <span - tabindex="0" class="trigger" data-open-text="{{ _('Show more details') }}" data-close-text="{{ _('Show less details') }}" @@ -71,8 +70,6 @@ <td> {{ _("Views") }} <i - tabindex="0" - role="button" style="position:relative" class="popup-trigger question circle small icon" aria-expanded="false" @@ -91,8 +88,6 @@ <td> {{ _("Downloads") }} <i - tabindex="0" - role="button" style="position:relative" class="popup-trigger question circle small icon" aria-expanded="false" diff --git a/invenio_theme_tuw/theme/templates/semantic-ui/invenio_theme_tuw/tuwstones/florian_woerister.html b/invenio_theme_tuw/theme/templates/semantic-ui/invenio_theme_tuw/tuwstones/florian_woerister.html index a51e7948dd1b90180553b04d41e933d1ff5ef537..3509bbdb50ef67f7fb0cf06f9af91210bdf43d76 100644 --- a/invenio_theme_tuw/theme/templates/semantic-ui/invenio_theme_tuw/tuwstones/florian_woerister.html +++ b/invenio_theme_tuw/theme/templates/semantic-ui/invenio_theme_tuw/tuwstones/florian_woerister.html @@ -16,7 +16,7 @@ {%- block page_body %} <article class="tuwstone"> <h1>Florian Wörister</h1> - <img src="{{ url_for('static', filename='images/tuwstones/fwoerister.png') }}" alt="Photo of Florian Woerister" /> + <img src="{{ url_for('static', filename='images/tuwstones/fwoerister.png') }}" alt="Florian Woerister" /> <section> <h2> Ex Almost TU:RD Manager