rust-lang/this-week-in-rust

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

Open

#3,592 opened on 2022年8月26日

GitHub で見る
 (10 comments) (0 reactions) (0 assignees)HTML (1,010 forks)batch import
bughelp wanted

Repository metrics

Stars
 (1,932 stars)
PR merge metrics
 (平均マージ 1d 17h) (30d で 123 merged PRs)

説明

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

コントリビューターガイド