chore: fix branding button style

This commit is contained in:
Steven 2024-08-01 22:45:04 +08:00
parent c4e72f35c3
commit 0297e9aa2d
3 changed files with 3 additions and 3 deletions

View File

@ -110,7 +110,7 @@ const WorkspaceSection = () => {
<div className="relative w-12 h-12 mr-2"> <div className="relative w-12 h-12 mr-2">
<img src={branding} alt="branding" className="max-w-full max-h-full rounded-lg" /> <img src={branding} alt="branding" className="max-w-full max-h-full rounded-lg" />
<Icon.X <Icon.X
className="w-4 h-auto -top-2 -right-2 absolute z-1 border rounded-full bg-white opacity-80" className="w-4 h-auto -top-2 -right-2 absolute z-10 border rounded-full bg-white opacity-80"
onClick={() => setWorkspaceSetting({ ...workspaceSetting, branding: new TextEncoder().encode("") })} onClick={() => setWorkspaceSetting({ ...workspaceSetting, branding: new TextEncoder().encode("") })}
/> />
</div> </div>

View File

@ -75,7 +75,7 @@ const CollectionDashboard: React.FC = () => {
</div> </div>
) : filteredCollections.length === 0 ? ( ) : filteredCollections.length === 0 ? (
<div className="py-16 w-full flex flex-col justify-center items-center text-gray-400"> <div className="py-16 w-full flex flex-col justify-center items-center text-gray-400">
<Icon.PackageOpen className="w-16 h-auto" strokeWidth="1" /> <Icon.PackageOpen size={64} strokeWidth={1} />
<p className="mt-2">No collections found.</p> <p className="mt-2">No collections found.</p>
<a <a
className="text-blue-600 border-t text-sm hover:underline flex flex-row justify-center items-center mt-4 pt-2" className="text-blue-600 border-t text-sm hover:underline flex flex-row justify-center items-center mt-4 pt-2"

View File

@ -77,7 +77,7 @@ const ShortcutDashboard: React.FC = () => {
</div> </div>
) : orderedShortcutList.length === 0 ? ( ) : orderedShortcutList.length === 0 ? (
<div className="py-16 w-full flex flex-col justify-center items-center text-gray-400"> <div className="py-16 w-full flex flex-col justify-center items-center text-gray-400">
<Icon.PackageOpen className="w-16 h-auto" strokeWidth="1" /> <Icon.PackageOpen size={64} strokeWidth={1} />
<p className="mt-2">No shortcuts found.</p> <p className="mt-2">No shortcuts found.</p>
<a <a
className="text-blue-600 border-t text-sm hover:underline flex flex-row justify-center items-center mt-4 pt-2" className="text-blue-600 border-t text-sm hover:underline flex flex-row justify-center items-center mt-4 pt-2"