rust-lang/this-week-in-rust

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

Open

#3,592 建立於 2022年8月26日

在 GitHub 查看
 (10 留言) (0 反應) (0 負責人)HTML (1,010 fork)batch import
bughelp wanted

倉庫指標

Star
 (1,932 star)
PR 合併指標
 (平均合併 1天 17小時) (30 天內合併 123 個 PR)

描述

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

貢獻者指南