tohuwabohu-io / librefit

OpenSource calorie tracker using kotlin, quarkus, postgresql, SvelteKit and OpenAPI 3
https://libre.fit/
GNU General Public License v3.0
2 stars 0 forks source link

calorie distribution is misaligned #113

Closed tohuwabohu-io closed 4 months ago

tohuwabohu-io commented 6 months ago

Describe the bug I somehow broke the flexbox in the calorie distribution component.

Expected behavior (dashboard)

  1. The heading should be aligned to the top.
  2. The 'Show History' button should be aligned to the bottom.
  3. The polar area chart should enlarge the container if necessary.

(both dashboard and dedicated route)

  1. The 'average' columns should have their text content aligned to the right.
  2. The indicator should stick to the right side of the amount display.

(dedicated route only) The statistics when switching between weekly, monthly and yearly analysis do not change. They should be recalculated.

Screenshots image

Additional context Maybe a table element could make the appearance a little bit tighter.