mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-03 02:11:48 +00:00
fix: button sizes
This commit is contained in:
parent
1285172aca
commit
912590a143
6 changed files with 35 additions and 4 deletions
|
|
@ -342,6 +342,7 @@ export function ChatSidebar({ channel, className }: ChatSidebarProps) {
|
|||
|
||||
{error && (
|
||||
<Button
|
||||
size="sm"
|
||||
outlined
|
||||
className="mt-1"
|
||||
onClick={reconnect}
|
||||
|
|
|
|||
|
|
@ -102,6 +102,7 @@ export function OAuthProvidersCard({ onError, onSuccess }: Props) {
|
|||
</CardTitle>
|
||||
</div>
|
||||
<Button
|
||||
size="sm"
|
||||
outlined
|
||||
onClick={refresh}
|
||||
disabled={loading}
|
||||
|
|
@ -216,7 +217,11 @@ export function OAuthProvidersCard({ onError, onSuccess }: Props) {
|
|||
</a>
|
||||
)}
|
||||
{!p.status.logged_in && p.flow !== "external" && (
|
||||
<Button onClick={() => setLoginFor(p)} prefix={<LogIn />}>
|
||||
<Button
|
||||
size="sm"
|
||||
onClick={() => setLoginFor(p)}
|
||||
prefix={<LogIn />}
|
||||
>
|
||||
{t.oauth.login}
|
||||
</Button>
|
||||
)}
|
||||
|
|
@ -229,6 +234,7 @@ export function OAuthProvidersCard({ onError, onSuccess }: Props) {
|
|||
)}
|
||||
{p.status.logged_in && p.flow !== "external" && (
|
||||
<Button
|
||||
size="sm"
|
||||
outlined
|
||||
onClick={() => handleDisconnect(p)}
|
||||
disabled={isBusy}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue