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/89dca210-058c-47ed-891e-c2c60dce43efn%40googlegroups.com.

Reply via email to