https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41129

--- Comment #171 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 205523
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=205523&action=edit
Bug 41129: (QA follow-up) Lay the calendar legend out as a grid sized to the
calendar

- One element per legend entry, laid out as a grid instead of a ragged
  flex row with an orphaned last entry
- The legend takes the calendar's measured width (the same
  --booking-calendar-render-width the panels use) and centres with it:
  two content-sized columns per displayed month, spread edge to edge,
  the count passed from the picker's ready event as
  --booking-legend-columns
- BookingPeriodStep.vue owns the legend layout; drop the duplicate flex
  rules and horizontal padding from BookingForm.vue

Test plan:
1. yarn js:build; enable the calendar: legend as wide as the calendar,
   four columns edge to edge; at phone width one month, two columns
2. cypress run --component --spec t/cypress/component/BookingPeriodStep_spec.ts

Assisted-by: Fable 5.1 (Anthropic)
Signed-off-by: Paul Derscheid <[email protected]>
Signed-off-by: Martin Renvoize <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to