Skip to content

Commit

Permalink
Style tenant selector.
Browse files Browse the repository at this point in the history
  • Loading branch information
necrodome committed Feb 5, 2025
1 parent 2d1b43b commit bab555f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/TenantSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function TenantSelector() {
<div className="p-4">
<div className="flex flex-col gap-2">
<select
className="w-full py-1.5 bg-fp-bg-00 border border-fp-dec-00 rounded-fp-s text-14 text-fp-p placeholder-fp-dec-01 focus:placeholder-transparent focus:outline-none focus:ring-1 focus:ring-fp-dec-01 focus:border-transparent"
className="w-full px-4 py-1.5 bg-fp-bg-00 border border-fp-dec-00 rounded-fp-s text-14 text-fp-p placeholder-fp-dec-01 focus:placeholder-transparent focus:outline-none focus:ring-1 focus:ring-fp-dec-01 focus:border-transparent"
onChange={(e) => {
if (e.target.value === "new") {
navigate("/fp/cloud/tenants/new");
Expand All @@ -38,7 +38,7 @@ export function TenantSelector() {
value={tenantId || listTenants.tenants[0]?.tenantId}
>
{listTenants.tenants.map((tenant) => (
<option key={tenant.tenantId} value={tenant.tenantId}>
<option className="px-4" key={tenant.tenantId} value={tenant.tenantId}>
{tenantName(tenant)}
</option>
))}
Expand Down
1 change: 0 additions & 1 deletion src/pages/cloud/tenants/overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export function CloudTenantOverview() {

return (
<div className="space-y-6 p-6">

<div className="bg-[--muted] shadow sm:rounded-lg p-6">
<h2 className="text-lg font-semibold text-[--foreground] mb-4">Onboarding - Quickstart</h2>
<div className="text-[--muted-foreground]">
Expand Down

0 comments on commit bab555f

Please sign in to comment.