jordi fita mas d697b340e9 Remove scroll after update quote or invoice form
By default, when using hx-boost, HTMx adds the `show:top` modifier to
`hx-swap`.  This is actually the wanted behaviour in these cases,
because it means that you are following a link to a “different” page,
and it makes sense to start from the top.

However, for quote and invoice forms is a hindrance because you are
usually editing the bottom-most product, as new lines are appended,
therefore you are all the time having to scroll down to the line.
Every. Single. Time.

Here i reverted the show:top to just show:false to keep the scroll as
is.  I also added the show:bottom to the new product button, because
that way the window show entirely the new line.

I could not use `show🪟bottom`, however, despite appearing in the
documentation, because that, somehow, ended up doing the same as
`show🪟top`.  Not sure if a bug or something i did not understand.

Closes #58.
2023-07-04 19:55:58 +02:00
2023-07-03 00:05:47 +02:00
2023-01-30 16:42:15 +01:00
2023-01-15 04:08:35 +01:00
2023-07-03 00:05:47 +02:00
2023-07-03 00:05:47 +02:00
2023-07-03 11:33:09 +02:00
Description
No description provided
https://numerus.cat/ 6.5 MiB
v1 Latest
2023-07-03 09:33:09 +00:00
Languages
PLpgSQL 64.2%
Go 21.4%
CSS 11.6%
JavaScript 2%
Scheme 0.7%