Mobile Kopfzeile: Spielername rechts halten und Dropdown lesbar machen

This commit is contained in:
torsten 2026-11-10 14:11:37 +01:00
parent 7e0c7828f2
commit fb26a40177
2 changed files with 23 additions and 4 deletions

View file

@ -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 {

View file

@ -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',