mirror of
https://github.com/iv-org/invidious.git
synced 2026-11-03 02:17:16 +00:00
* minute badge added to watch page * replace time calculations with the stdlib's native functions Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com> * reordered duration badge to be before audio mode toggle * abbreviated length logic abstracted into a helper function * space added between badge and texts * run ameba linter * move it between the title and listen button * use border radius of 3px, since that is the buttons of purecss uses * chore: move the css element to a more appropiate place + add missing support for dark mode css * chore: hide time indicator if length_seconds is less than 0 or nil * chore: add TODO statement for the locales --------- Co-authored-by: discollizard <discollizard@github.com> Co-authored-by: discollizard <49206310+discollizard@users.noreply.github.com> Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com>
16 KiB
16 KiB