Nice - this issue has been a minor annoyance whenever I use my tinier
laptop, but I just haven't gotten around to looking into it.
So thank you for posting this question! And please do share your diff here
or in a gist? I suspect there's many users like me as you suggested too.
On Wednesday, March 6, 2024 at 4:18:03 PM UTC-8 Mariano Draghi wrote:
> Thanks Cameron for the tip! All the CSS for the packaged version of Fava
> gets compiled into a one big app.css, but I was able to find the relevant
> class and adjust it.
> I'm a developer myself... but let's say that CSS and I aren't very good
> friends, so your pointer was very welcome :)
>
> Anyway, I feel like this is sort of a bug then. Mi local currency has been
> losing value by the minute for years now, but Argentinian politics aside,
> there are other currencies were large figures are common (like the Chilean
> peso, from the top of my head).
> Maybe it also depends on the monitor DPI, the browser, and other
> conditions, but I feel like this should be more dynamic, somehow. I have no
> idea how though.
>
> I'm still curious as to why this doesn't come up more frequently, but
> maybe it's just that we users outside USA/Canada/EU are a tiny minority.
>
> For now I'll keep setting the width to my linking whenever Fava gets
> updated.
>
> Thanks!
>
>
> El Wednesday, March 6, 2024 a la(s) 3:03:18 PM UTC-3, c79m escribió:
>
> It doesn't look like Fava is doing any sort of conditional line breaks.
> It appears to just be a styling issue from the CSS applied to the journal
> table.
> In 'frontend/css/journal-table.css', line 120 sets the width of the
> journal number cells to 9rem: '.journal p > .num { width: 9rem;}'.
> Changing it to 10rem got everything on to 1 line for me, using '100,000.00
> USD' as an example.
>
> You can directly modify the journal-table.css file wherever it's been
> installed by pip, but you would want to clone your own copy of the fava
> source if you want the change to survive upgrades.
>
> - Cameron
>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beancount/794d9ce7-8ce2-4547-bb00-ce3c498bf539n%40googlegroups.com.