Browse Source

Fix done button spacing

Saoud Rizwan 1 year ago
parent
commit
2fa519a5db

+ 1 - 1
webview-ui/src/components/HistoryView.tsx

@@ -68,7 +68,7 @@ const HistoryView = ({ taskHistory, onDone }: HistoryViewProps) => {
 						display: "flex",
 						justifyContent: "space-between",
 						alignItems: "center",
-						padding: "10px 16px 10px 20px",
+						padding: "10px 17px 10px 20px",
 					}}>
 					<h3 style={{ color: "var(--vscode-foreground)", margin: 0 }}>History</h3>
 					<VSCodeButton onClick={onDone}>Done</VSCodeButton>

+ 1 - 1
webview-ui/src/components/SettingsView.tsx

@@ -83,7 +83,7 @@ const SettingsView = ({
 					justifyContent: "space-between",
 					alignItems: "center",
 					marginBottom: "17px",
-					paddingRight: 18,
+					paddingRight: 17,
 				}}>
 				<h3 style={{ color: "var(--vscode-foreground)", margin: 0 }}>Settings</h3>
 				<VSCodeButton onClick={handleSubmit}>Done</VSCodeButton>