Просмотр исходного кода

style: Update margin styling for checkbox in PromptsView component

hannesrudolph 11 месяцев назад
Родитель
Сommit
cc4f6dd675
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      webview-ui/src/components/prompts/PromptsView.tsx

+ 3 - 3
webview-ui/src/components/prompts/PromptsView.tsx

@@ -561,7 +561,7 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
 	  which are managed in this component. This is an intentional deviation from
 	  which are managed in this component. This is an intentional deviation from
 	  the standard pattern described in cline_docs/settings.md.
 	  the standard pattern described in cline_docs/settings.md.
 	*/}
 	*/}
-					<div style={{ marginBottom: 15 }}>
+					<div className="mb-4">
 						<VSCodeCheckbox
 						<VSCodeCheckbox
 							checked={enableCustomModeCreation ?? true}
 							checked={enableCustomModeCreation ?? true}
 							onChange={(e: any) => {
 							onChange={(e: any) => {
@@ -577,8 +577,8 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
 								marginTop: "5px",
 								marginTop: "5px",
 								color: "var(--vscode-descriptionForeground)",
 								color: "var(--vscode-descriptionForeground)",
 							}}>
 							}}>
-							When enabled, Roo can help you create custom modes. You can disable this to
-							reduce Roo's token usage.
+							When enabled, Roo can help you create custom modes. You can disable this to reduce Roo's
+							token usage.
 						</p>
 						</p>
 					</div>
 					</div>
 					<div onClick={(e) => e.stopPropagation()} className="flex justify-between items-center mb-3">
 					<div onClick={(e) => e.stopPropagation()} className="flex justify-between items-center mb-3">