fix tooltips in combination w/ overflow tables
Some checks failed
CI/CD Pipeline / deploy (push) Has been cancelled
CI/CD Pipeline / test (push) Has been cancelled

This commit is contained in:
Philipp Hofer 2025-04-13 23:08:45 +02:00
parent e96474e085
commit be4ec4cbdc
2 changed files with 5 additions and 5 deletions

View File

@ -53,12 +53,12 @@ async fn highscore(State(db): State<Arc<SqlitePool>>, session: Session) -> Marku
@if let Some(rating) = Rating::find_by_team_and_station(&db, &team, &station).await { @if let Some(rating) = Rating::find_by_team_and_station(&db, &team, &station).await {
@if let (Some(notes), Some(points)) = (rating.notes, rating.points) { @if let (Some(notes), Some(points)) = (rating.notes, rating.points) {
({total_points += points;""}) ({total_points += points;""})
em data-tooltip=(notes) { (points) } em data-placement="bottom" data-tooltip=(notes) { (points) }
}@else if let Some(points) = rating.points { }@else if let Some(points) = rating.points {
({total_points += points;""}) ({total_points += points;""})
(points) (points)
}@else { }@else {
em data-tooltip="Station hat Team noch nicht bewertet" { em data-placement="bottom" data-tooltip="Station hat Team noch nicht bewertet" {
"?" "?"
} }
} }

View File

@ -183,17 +183,17 @@ async fn view(
th { "Punkte" } th { "Punkte" }
th { "Notizen" } th { "Notizen" }
th { th {
em data-tooltip="Angekommen" { em data-placement="bottom" data-tooltip="Angekommen" {
"👋" "👋"
} }
} }
th { th {
em data-tooltip="Begonnen" { em data-placement="bottom" data-tooltip="Begonnen" {
"🎬" "🎬"
} }
} }
th { th {
em data-tooltip="Gegangen" { em data-placement="bottom" data-tooltip="Gegangen" {
"🚶‍♂️" "🚶‍♂️"
} }
} }