rust-lang/this-week-in-rust

Header formatting on email version of TWiR is not line breaking correctly

Open

#3592 aperta il 26 ago 2022

Vedi su GitHub
 (10 commenti) (0 reazioni) (0 assegnatari)HTML (1010 fork)batch import
bughelp wanted

Metriche repository

Star
 (1932 star)
Metriche merge PR
 (Merge medio 1g 17h) (113 PR mergiate in 30 g)

Descrizione

The title image and header of the email are not breaking correctly in the generated HTML code for the TwiR email issue.

The break should be placed after the "This Week in Rust" title image. Instead, the line is currently breaking after the "This" in the text header.

The email code is being generated by the optimize-email Makefile job, which uses the website code (via the make build && make generate-website && make host-content command) to create an email using juice.

<td style="font-family: 'Helvetica Neue', Helvetica, sans-serif;">
  <img class="wrapper-image " src="https://this-week-in-rust.org/images/logo32.png" alt="This Week in Rust" style="width: 30px; vertical-align: bottom; max-width: 100%;" width="30">
  <span class="wrapper-header-01" style="line-height: 27px; font-size: 23px; font-weight: bold; color: #444444;">This Week in Rust</span>
</td>

Narrow window: Screen Shot 2022-08-25 at 6 25 39 PM

Wide window: Screen Shot 2022-08-25 at 6 23 48 PM

Guida contributor