tiny: visitor profile: linebreak between value and unit
seen in 2.13 b1
please see attachment
貢獻者指南
技術棧
phpcss
領域
frontend
議題類型
bug
難度面向新貢獻者的預計實作難度,1 表示很小改動,5 表示專家級工作。
2
預計時間有經驗貢獻者完成調查、實作、測試並準備 pull request 的粗略時間範圍。
under 1 hour
活動狀態議題目前的可參與程度:新鮮、活躍、陳舊、阻塞或等待維護者輸入。
stale
清晰度議題是否清楚說明預期改動、驗收標準和下一步。
needs investigation
前置要求
Basic CSS knowledgeFamiliarity with Matomo templating
新手友善度1-100 的估計分數,表示該議題對首次貢獻者的友善程度。
60
研究方向
Locate the visitor profile template in Matomo (likely a Twig or PHP file in plugins/VisitorProfile). Search for where the metric value and unit are displayed together. The bug is that a line break appears between them. Look for adjacent HTML elements or CSS that might cause this, such as block display or missing white space: nowrap. Inspect the issue screenshot and reproduce on a modern version if possible. Apply CSS to ensure the value and unit stay on the same line (e.g., use inline display or white space: nowrap). Check comments for any hints about the fix.