Fix: Zuchtkartei Toolbar Mobile — overflow-x:auto + flex-shrink:0 (SW by-v899)
This commit is contained in:
parent
c15f1b10d0
commit
d5a3a1bb05
5 changed files with 14 additions and 14 deletions
|
|
@ -100,25 +100,25 @@ window.Page_zuchthunde = (() => {
|
|||
function _render() {
|
||||
_container.innerHTML = `
|
||||
<div class="zh-layout">
|
||||
<div class="by-toolbar">
|
||||
<h2 style="margin:0;font-size:var(--text-lg);font-weight:var(--weight-semibold)">
|
||||
<div class="by-toolbar" style="overflow-x:auto;flex-wrap:nowrap">
|
||||
<h2 style="margin:0;font-size:var(--text-lg);font-weight:var(--weight-semibold);flex-shrink:0;white-space:nowrap">
|
||||
${UI.icon('dog')} Zuchtkartei
|
||||
</h2>
|
||||
<button class="btn btn-primary btn-sm" id="zh-new-btn">
|
||||
<button class="btn btn-primary btn-sm" id="zh-new-btn" style="flex-shrink:0">
|
||||
${UI.icon('plus')} Hund anlegen
|
||||
</button>
|
||||
<button class="btn btn-secondary btn-sm" id="zh-trial-btn">
|
||||
<button class="btn btn-secondary btn-sm" id="zh-trial-btn" style="flex-shrink:0;white-space:nowrap">
|
||||
${UI.icon('heart-fill')} Probeverpaarung
|
||||
</button>
|
||||
<a href="/api/breeder/export" download class="btn btn-ghost btn-sm" id="zh-export-btn"
|
||||
title="Alle Daten herunterladen (HTML + ODS)">
|
||||
style="flex-shrink:0" title="Alle Daten herunterladen (HTML + ODS)">
|
||||
${UI.icon('download-simple')} Export
|
||||
</a>
|
||||
${_appState?.user?.ki_zucht_jahresbericht !== 0 ? `
|
||||
<a class="btn btn-ghost btn-sm" id="zh-jahresbericht-btn">
|
||||
<a class="btn btn-ghost btn-sm" id="zh-jahresbericht-btn" style="flex-shrink:0;white-space:nowrap">
|
||||
${UI.icon('chart-bar')} Jahresbericht
|
||||
</a>
|
||||
<a class="btn btn-ghost btn-sm" id="zh-jahresbericht-archiv-btn" title="Frühere Berichte">
|
||||
<a class="btn btn-ghost btn-sm" id="zh-jahresbericht-archiv-btn" style="flex-shrink:0" title="Frühere Berichte">
|
||||
${UI.icon('archive')}
|
||||
</a>` : ''}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue