Skip to content

Commit

Permalink
Misc. styling & alignment fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
remko committed Oct 24, 2021
1 parent 75ab72f commit cd5443d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/DatastoreAdmin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function DatastoreAdminView({ project }: { project: string }) {
const r = await import_({ inputPath });
return r;
} catch (e) {
alert(e.message);
alert((e as Error).message);
}
},
[import_],
Expand All @@ -56,7 +56,7 @@ function DatastoreAdminView({ project }: { project: string }) {
const r = await export_({ outputPath: outputPath });
alert(`Exported to "${r.outputURL}"`);
} catch (e) {
alert(e.message);
alert((e as Error).message);
}
},
[export_],
Expand All @@ -82,7 +82,7 @@ function DatastoreAdminView({ project }: { project: string }) {
Datastore Admin
</Link>

<ul className="navbar-nav ms-auto me-auto mb-2 mb-lg-0">
<ul className="navbar-nav ms-auto me-auto">
<li className="nav-item">
<Link
className={classNames("nav-link", !isQueryRoute && "active")}
Expand Down Expand Up @@ -122,11 +122,11 @@ function DatastoreAdminView({ project }: { project: string }) {
</a>
</li>
</ul>
<ul className="navbar-nav mb-2 mb-lg-0">
<ul className="navbar-nav">
<li className="nav-item me-3">
<NamespaceSelector namespace={namespace} />
</li>
<li className="navbar-text">{project}</li>
<li className="navbar-text text-nowrap">{project}</li>
</ul>
</div>
</nav>
Expand Down
1 change: 0 additions & 1 deletion src/ui/icons/plus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const Plus = (props: IconProps) => (
width="16"
height="16"
fill="currentColor"
className="bi"
viewBox="0 0 16 16"
{...props}
>
Expand Down

0 comments on commit cd5443d

Please sign in to comment.