Mail: gutter van 16 px rond de card (inline op de buitenste cel), zodat de paginakleur aan de zijkanten zichtbaar blijft
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -287,6 +287,15 @@ public class MailTemplateRendererTests
|
||||
html.Should().Contain("bgcolor=\"#f3f4f6\"").And.Contain("bgcolor=\"#ffffff\"");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void TheCard_HasAGutterOnNarrowScreens_InlineOnTheOuterCell_SoThePageColourShowsAtTheSides()
|
||||
{
|
||||
var html = _renderer.Render(MailKind.Invitation, "nl", Model()).Html;
|
||||
|
||||
// 16px at the sides on the cell around the card (inline: a media query is not honoured everywhere)
|
||||
html.Should().Contain("<td align=\"center\" style=\"padding:24px 16px;\"><table role=\"presentation\" class=\"mail-card\"");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void WithALogo_TheSiteNameStandsNextToIt_InTheAccentColour()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user