A couple more tiny tweaks to buttons

This commit is contained in:
Matt Rubens
2025-01-12 14:58:19 -05:00
parent e493f0501f
commit b53d63abda
2 changed files with 8 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
---
"roo-cline": patch
---
A couple more tiny tweaks to the button alignment in the chat input

View File

@@ -666,7 +666,7 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
style={{ style={{
position: "absolute", position: "absolute",
paddingTop: 4, paddingTop: 4,
bottom: 32, bottom: 36,
left: 22, left: 22,
right: 67, right: 67,
zIndex: 2, zIndex: 2,
@@ -677,7 +677,7 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
style={{ style={{
position: "absolute", position: "absolute",
left: 25, left: 25,
bottom: 19, bottom: 20,
zIndex: 3, zIndex: 3,
display: "flex", display: "flex",
gap: 8, gap: 8,
@@ -764,7 +764,7 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
))} ))}
</select> </select>
</div> </div>
<div className="button-row" style={{ position: "absolute", right: 20, display: "flex", alignItems: "center", height: 31, bottom: 10, zIndex: 3, padding: "0 0 0 8px", justifyContent: "flex-end", backgroundColor: "var(--vscode-input-background)", }}> <div className="button-row" style={{ position: "absolute", right: 16, display: "flex", alignItems: "center", height: 31, bottom: 11, zIndex: 3, padding: "0 8px", justifyContent: "flex-end", backgroundColor: "var(--vscode-input-background)", }}>
<span style={{ display: "flex", alignItems: "center", gap: 12 }}> <span style={{ display: "flex", alignItems: "center", gap: 12 }}>
{apiConfiguration?.apiProvider === "openrouter" && ( {apiConfiguration?.apiProvider === "openrouter" && (
<div style={{ display: "flex", alignItems: "center" }}> <div style={{ display: "flex", alignItems: "center" }}>