fgrehm / letter_opener_web

A web interface for browsing Ruby on Rails sent emails
MIT License
718 stars 112 forks source link

layout somehow messed up #126

Open whysthatso opened 1 year ago

whysthatso commented 1 year ago

image

not sure what's happening here

running latest version of the gem in rails 7

any idea?

whysthatso commented 1 year ago

turns out replacing "Letter" with "Mails" was already sufficient to prevent the buttons "Clear" and "Refresh" from overflowing onto the next line. Not sure how better to fix it, probably buttons could go a bit smaller? This might be a font rendering issue (firefox on linux here, i've seen font issues like this before)

fgrehm commented 6 months ago

@whysthatso sorry for the long silence here, is this still a problem for you?

whysthatso commented 5 months ago

no worries, @fgrehm i appreciate your gift, and there's no need to be sorry :)

the issues indeed still exists. i think it stems from the css value .col width=350px; and the resulting fixed width. the font might be slightly differently rendered in different browser, hence 'letters' being slightly too wide to accommodate the two buttons. i'd suggest to exchange 'letters' for 'mail' and that should fix this edge case.