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

On Wednesday, March 6, 2024 at 6:43:09 AM UTC-7 Mariano Draghi wrote:

> Hi there!
>
> Is there anything I can do on my side of things, to fix this in Fava? 
> (small example of the journal for an account)
> [image: Captura desde 2024-03-06 10-31-00.png]
> As you can see at the topmost row, as soon as the amount is greater than 
> 99,999.99, Fava starts to break the amount and symbol in two rows. That's a 
> simple journal, but it gets *super* confusing to follow/compare amounts 
> visually when the numbers are changing alignment all the time.
>
> Is this a configuration problem or a bug? I did a quick search on the 
> issue tracker on GitHub but couldn't find anything similar to this. It 
> doesn't seem that my situation is that unusual, so I figured I'd ask before 
> reporting it. To my mind, it should be already reported (as it would affect 
> a lot of people (?)), or I have something missconfigured on my end.
>
> Thanks!
>
>
>

-- 
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/e91dc130-6677-45c2-834e-40d44ed57ee2n%40googlegroups.com.

Reply via email to