Skip to content

Commit

Permalink
Add mobile padding for promo block
Browse files Browse the repository at this point in the history
  • Loading branch information
jwade1327 committed Dec 21, 2023
1 parent 329f3c7 commit 4ea4208
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/common/components/blocks/2024-head.marko
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ $ const title = get(newsletterConfig, "title");
.es-m-p40r { padding-right:40px!important }
.es-m-p40l { padding-left:40px!important }
.hide-mobile { padding: 0px!important }
.mobile-padding { padding-top: 20px !important; padding-bottom: 20px !important}
}
</style>
</head>
2 changes: 1 addition & 1 deletion packages/common/components/blocks/2024/promo.marko
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ $ const imgOptions = {

<if(withImage === true)>
<tr>
<td class="es-m-p0t es-m-p0b" align="left" style="Margin:0;padding-top:20px;padding-bottom:20px;padding-left:40px;padding-right:40px">
<td class="es-m-p0t es-m-p0b mobile-padding" align="left" style="Margin:0;padding-top:20px;padding-bottom:20px;padding-left:40px;padding-right:40px">
<!--[if mso]><table style="width:560px" cellpadding="0" cellspacing="0"><tr><td style="width:96px" valign="top"><![endif]-->
<table class="es-left" cellspacing="0" cellpadding="0" align="left" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px;float:left">
<tr>
Expand Down

0 comments on commit 4ea4208

Please sign in to comment.