Skip to content

Commit 14ed1c0

Browse files
committed
Fix account view spacing
1 parent 55e0586 commit 14ed1c0

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

webview-ui/src/components/account/AccountView.tsx

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const ClineAccountView = () => {
6767
{user ? (
6868
<div
6969
style={{
70-
padding: "12px 16px",
70+
padding: "8px 10px",
7171
border: "1px solid var(--vscode-input-border)",
7272
borderRadius: "2px",
7373
backgroundColor: "var(--vscode-dropdown-background)",
@@ -76,23 +76,23 @@ export const ClineAccountView = () => {
7676
style={{
7777
display: "flex",
7878
alignItems: "center",
79-
gap: "16px",
79+
gap: "8px",
8080
}}>
8181
{user.photoURL ? (
8282
<img
8383
src={user.photoURL}
8484
alt="Profile"
8585
style={{
86-
width: 48,
87-
height: 48,
86+
width: 38,
87+
height: 38,
8888
borderRadius: "50%",
8989
}}
9090
/>
9191
) : (
9292
<div
9393
style={{
94-
width: 48,
95-
height: 48,
94+
width: 38,
95+
height: 38,
9696
borderRadius: "50%",
9797
backgroundColor: "var(--vscode-button-background)",
9898
display: "flex",
@@ -129,7 +129,7 @@ export const ClineAccountView = () => {
129129
{user.email}
130130
</div>
131131
)}
132-
<div style={{ display: "flex", gap: "8px" }}>
132+
<div style={{ display: "flex", gap: "8px", flexWrap: "wrap" }}>
133133
<VSCodeButtonLink
134134
href="https://app.cline.bot/account"
135135
appearance="primary"
@@ -138,8 +138,8 @@ export const ClineAccountView = () => {
138138
transformOrigin: "left center",
139139
width: "fit-content",
140140
marginTop: 2,
141-
marginBottom: -2,
142-
marginRight: -8,
141+
marginBottom: 0,
142+
marginRight: -12,
143143
}}>
144144
Account
145145
</VSCodeButtonLink>
@@ -151,7 +151,8 @@ export const ClineAccountView = () => {
151151
transformOrigin: "left center",
152152
width: "fit-content",
153153
marginTop: 2,
154-
marginBottom: -2,
154+
marginBottom: 0,
155+
marginRight: -12,
155156
}}>
156157
Log out
157158
</VSCodeButton>

0 commit comments

Comments
 (0)