diff --git a/tippspiel/public/css/style.css b/tippspiel/public/css/style.css index d5c5ab5..232d864 100644 --- a/tippspiel/public/css/style.css +++ b/tippspiel/public/css/style.css @@ -528,18 +528,37 @@ th.game-header { white-space: normal; } position: static; font-size: 0.74em; gap: 0.1em 0.15em; + flex-wrap: nowrap; } .site-nav .brand { display: none; } .site-nav a { padding: 0.3em 0.4em; } - .nav-user { margin-left: 0; } + .site-nav > a, + .site-nav > .nav-dropdown { flex: 0 0 auto; } + .nav-user { + margin-left: auto; + min-width: 0; + max-width: 45%; + } + .nav-user .nav-dropdown { + width: 100%; + min-width: 0; + } .nav-user .nav-dropdown > a { - display: inline-block; - max-width: 13em; + display: block; + width: 100%; + max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; } + .nav-user .nav-dropdown-content { + left: auto; + right: 0; + min-width: 13em; + max-width: calc(100vw - 1.5em); + white-space: nowrap; + } /* Formulare: Label über dem Feld statt daneben */ .form-group label { diff --git a/tippspiel/public/sw.js b/tippspiel/public/sw.js index 0a0403c..ae46612 100644 --- a/tippspiel/public/sw.js +++ b/tippspiel/public/sw.js @@ -3,7 +3,7 @@ // HTML-Seiten werden bewusst NICHT gecacht: Sie enthalten den Login-Status und // würden nach Ablauf der Session eine veraltete, eingeloggte Ansicht zeigen. -const CACHE_NAME = 'tippspiel2027-v11'; +const CACHE_NAME = 'tippspiel2027-v12'; const STATIC_ASSETS = [ '/css/style.css', '/img/icon-192.png',