fix: modify css

This commit is contained in:
Kilu 2024-04-29 14:00:03 +08:00
parent e33eb8df3b
commit 29ba092260
2 changed files with 17 additions and 33 deletions

View File

@ -56,22 +56,14 @@
<span>on AppFlowy</span> <span>on AppFlowy</span>
</p> </p>
<div role="separator" style="background-color: #cbd5e1; height: 1px; line-height: 1px; margin: 24px 20%">&zwj;</div> <div role="separator" style="background-color: #cbd5e1; height: 1px; line-height: 1px; margin: 24px 20%">&zwj;</div>
<table align="center" style="width: 100%;" cellpadding="0" cellspacing="0" role="none"> <table align="center" cellpadding="0" cellspacing="0" role="none">
<tr> <tr>
<td style="width: 41.666667%"> <td style="width: 60px">
<table align="center" style="width: 100%;" cellpadding="0" cellspacing="0" role="none"> <div style="margin-right: 8px; height: 60px; width: 60px; overflow: hidden; border-radius: 16px; background-color: #fff; border: 2px solid black">
<tr> <img src="{{ workspace_icon_url }}" width="100%" height="100%" alt="{{ workspace_name }}" style="max-width: 100%; vertical-align: middle; line-height: 1; overflow: hidden; object-fit: cover;">
<td style="width: 75%"> </div>
</td>
<td style="width: 25%">
<div style="margin-right: 8px; height: 60px; width: 60px; overflow: hidden; border-radius: 16px; background-color: #fff; border: 2px solid black">
<img src="{{ workspace_icon_url }}" width="100%" height="100%" alt="{{ workspace_name }}" style="max-width: 100%; vertical-align: middle; line-height: 1; overflow: hidden; object-fit: cover;">
</div>
</td>
</tr>
</table>
</td> </td>
<td style="width: 58.333333%"> <td>
<div style="margin-bottom: 8px; font-weight: 700"> <div style="margin-bottom: 8px; font-weight: 700">
{{ workspace_name }} {{ workspace_name }}
</div> </div>

View File

@ -20,28 +20,20 @@ bodyClass: bg-purple-50
<span class="mx-2=1">on AppFlowy</span> <span class="mx-2=1">on AppFlowy</span>
</p> </p>
<x-divider space-x="20%"/> <x-divider space-x="20%"/>
<table align="center" class="w-full"> <table align="center">
<tr> <tr>
<td class="w-5/12"> <td class="w-[60px]">
<table align="center" class="w-full"> <div
<tr> style="border: 2px solid black;"
<td class="w-9/12"> class="rounded-2xl mr-2 w-[60px] h-[60px] bg-white overflow-hidden">
</td> <img src="{{ workspaceIconURL }}"
<td class="w-3/12"> class="overflow-hidden object-cover"
<div width="100%" height="100%"
style="border: 2px solid black;" alt="{{ workspaceName }}">
class="rounded-2xl mr-2 w-[60px] h-[60px] bg-white overflow-hidden"> </div>
<img src="{{ workspaceIconURL }}"
class="overflow-hidden object-cover"
width="100%" height="100%"
alt="{{ workspaceName }}">
</div>
</td>
</tr>
</table>
</td> </td>
<td class="w-7/12"> <td>
<div class="font-bold mb-2"> <div class="font-bold mb-2">
{{ workspaceName }} {{ workspaceName }}
</div> </div>