Merge branch 'staging' into 'main'

[BUGFIX] truncate username

See merge request PhilippHofer/rot!47
This commit is contained in:
PhilippHofer 2023-10-24 13:45:34 +00:00
commit 0ad0461c6b

View File

@ -1,7 +1,7 @@
{% macro header(loggedin_user) %}
<header class="bg-primary-900 text-white flex justify-center p-3 fixed w-full z-10">
<div class="max-w-screen-xl w-full flex justify-between items-center">
<div>
<div class="w-1/3 truncate">
<a href="/">
{{ loggedin_user.name }}
@ -9,7 +9,7 @@
</div>
<div>
<a href="https://wiki.rudernlinz.at/ruderassistent#faq" class="inline-flex justify-center rounded-md bg-primary-600 mx-1 px-3 py-2 text-sm font-semibold text-white hover:bg-primary-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 cursor-pointer">
<a href="https://wiki.rudernlinz.at/ruderassistent#faq" target="_blank" class="inline-flex justify-center rounded-md bg-primary-600 mx-1 px-3 py-2 text-sm font-semibold text-white hover:bg-primary-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 cursor-pointer">
{% include "includes/question-icon" %}
<span class="sr-only">FAQs</span>
</a>