UI: fix small issues to OpeningHours picker, cleanup obsolete file

This commit is contained in:
Pieter Vander Vennet 2025-04-04 01:51:58 +02:00
parent 3ba7e57ec1
commit e92dae92b7
6 changed files with 16 additions and 77 deletions

View file

@ -164,7 +164,6 @@
/**
* Determines 'top' and 'height-attributes, returns a CSS-string'
* @param oh
*/
function rangeStyle(oh: OpeningHour, totalHeight: number): string {
const top = ((oh.startHour + oh.startMinutes / 60) * totalHeight) / 24

View file

@ -41,4 +41,5 @@
</button>
</Popup>
<button on:click={() => expanded.set(true)}>Pick opening hours</button>
<PublicHolidaySelector value={state.phSelectorValue} />