"Refactor NavigationMenuDepartment button formatting for improved readability in mobile tooltip layout."

This commit is contained in:
Jeppe Bundgaard
2025-12-05 20:19:45 +01:00
parent 54cc7c298c
commit 83bc1246fb
@@ -76,7 +76,10 @@ const getDepartmentLabel = (departmentId: number): string => {
<!-- Mobile view -->
<div class="control">
<b-tooltip position="is-bottom" multilined type="is-info">
<b-button icon-left="building" icon-pack="fas" :label="getDepartmentLabel(SessionUser.functions.getDepartmentIdFromUrl()) || selectADepartmentString" class="is-fullwidth is-rounded"/>
<b-button icon-left="building"
icon-pack="fas"
:label="getDepartmentLabel(SessionUser.functions.getDepartmentIdFromUrl()) || selectADepartmentString"
class="is-fullwidth is-rounded"/>
<template v-slot:content>
<!-- Pick a department tooltip content -->
<!-- Scrollable list of departments -->