Skip to content

Commit 6d40fd0

Browse files
committed
fix some styles
1 parent 04db419 commit 6d40fd0

4 files changed

Lines changed: 6 additions & 9 deletions

File tree

workers/email/src/templates/components/backtrace.twig

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@
1919
</div>
2020
</td>
2121
<td style="border-top-right-radius: 6px;border-top-left-radius: 0;border-bottom-right-radius: 6px;border-bottom-left-radius: 0; background-color: {{ frame.line == backtrace.line ? 'rgba(149, 61, 135, 0.3);' : 'unset' }}">
22-
<div style="padding-top: 0;padding-right: 10px;margin-left: 20px;padding-bottom: 0; overflow: auto">
23-
<font color="#969FB3"
24-
style="font-size: 12px; line-height: 1.75; color: #969FB3; white-space: pre; text-overflow: clip">{{ frame.content | escape }}</font>
25-
</div>
22+
<pre style="padding-top: 0;padding-right: 10px;margin-left: 20px;padding-bottom: 0; overflow: auto"><font color="#969FB3" style="font-size: 12px; line-height: 1.75; color: #969FB3; white-space: pre; text-overflow: clip">{{ frame.content | escape }}</font></pre>
2623
</td>
2724
</tr>
2825
{% endfor %}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<a href="{{ href }}" style="text-decoration: none">
22
<div style="padding-top: 12px;padding-right: 0;padding-left: 0;padding-bottom: 12px;background-color: #4979e4; border-radius: 4px; text-align: center">
33
<font color="#dbe6ff"
4-
style="font-size: 14.4px; font-weight: 500; color: #dbe6ff;">
5-
{{ label }}
4+
style="font-size: 14.4px; color: #dbe6ff;">
5+
<b>{{ label }}</b>
66
</font>
77
</div>
88
</a>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<tr>
2-
<td style="display: block; padding-top: 20px; padding-right: 20px; padding-bottom: 20px; padding-left: 20px; margin-bottom: 60px; border-width: 1px; border-color: #494f5e; border-style: solid; border-radius: 10px; color: #dbe6ff; text-decoration: none;">
2+
<td style="display: block; padding-top: 13px; padding-right: 20px; padding-bottom: 13px; padding-left: 20px; margin-bottom: 60px; border-width: 1px; border-color: #494f5e; border-style: solid; border-radius: 10px; color: #dbe6ff; text-decoration: none;">
33
<font color="#dbe6ff" style="font-size: 15px; letter-spacing: 0.4px; pointer-events: none;">
44
<span style="display: block; padding-bottom: 15px;">
55
{{ event.payload.title | escape }}
66
</span>
77
</font>
88
{% include './event-info.twig' with {event: { daysRepeated: daysRepeated, event: {totalCount: event.totalCount}, usersAffected: event.usersAffected}} %}
99
</td>
10-
</tr>
10+
</tr>

workers/email/src/templates/emails/event/html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</tr>
2828
<tr>
2929
<td>
30-
<div class="event-title-block" style="padding: 20px; border-width: 1px; border-style: solid; border-color: #494F5E; border-radius: 10px;">
30+
<div class="event-title-block" style="padding-top: 13px; padding-bottom: 13px; padding-left: 20px; padding-right: 20px; border-width: 1px; border-style: solid; border-color: #494F5E; border-radius: 10px;">
3131
<font class="event-title-block__font" color="#dbe6ff" style="font-size: 15px; line-height: 1.47; letter-spacing: 0.4px; color: #dbe6ff; text-decoration: none;">
3232
{{ event.payload.title | escape }}
3333
</font>

0 commit comments

Comments
 (0)