forked from MapComplete/MapComplete
UI: fix small issues to OpeningHours picker, cleanup obsolete file
This commit is contained in:
parent
3ba7e57ec1
commit
e92dae92b7
6 changed files with 16 additions and 77 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -41,4 +41,5 @@
|
|||
</button>
|
||||
</Popup>
|
||||
<button on:click={() => expanded.set(true)}>Pick opening hours</button>
|
||||
|
||||
<PublicHolidaySelector value={state.phSelectorValue} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue