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">
<tr>
<td style="width: 75%">
</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"> <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;"> <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> </div>
</td> </td>
</tr> <td>
</table>
</td>
<td style="width: 58.333333%">
<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,14 +20,9 @@ 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">
<tr>
<td class="w-9/12">
</td>
<td class="w-3/12">
<div <div
style="border: 2px solid black;" style="border: 2px solid black;"
class="rounded-2xl mr-2 w-[60px] h-[60px] bg-white overflow-hidden"> class="rounded-2xl mr-2 w-[60px] h-[60px] bg-white overflow-hidden">
@ -36,12 +31,9 @@ bodyClass: bg-purple-50
width="100%" height="100%" width="100%" height="100%"
alt="{{ workspaceName }}"> alt="{{ workspaceName }}">
</div> </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>