Improve padding

This commit is contained in:
Saoud Rizwan
2024-09-12 04:21:04 -04:00
parent 82d631d0ca
commit caab575b14
2 changed files with 5 additions and 6 deletions

View File

@@ -210,7 +210,7 @@ const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifiedMessa
display: "flex", display: "flex",
justifyContent: "space-between", justifyContent: "space-between",
alignItems: "center", alignItems: "center",
padding: "6px 10px", padding: "9px 10px",
cursor: "pointer", cursor: "pointer",
userSelect: "none", userSelect: "none",
WebkitUserSelect: "none", WebkitUserSelect: "none",
@@ -227,7 +227,6 @@ const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifiedMessa
overflow: "hidden", overflow: "hidden",
textOverflow: "ellipsis", textOverflow: "ellipsis",
marginRight: "8px", marginRight: "8px",
fontSize: "11px",
direction: "rtl", direction: "rtl",
textAlign: "left", textAlign: "left",
}}> }}>
@@ -236,7 +235,7 @@ const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifiedMessa
</div> </div>
<span <span
className={`codicon codicon-link-external`} className={`codicon codicon-link-external`}
style={{ fontSize: 13, margin: "1.5px 0" }}></span> style={{ fontSize: 13.5, margin: "1px 0" }}></span>
</div> </div>
</div> </div>
</> </>
@@ -423,7 +422,7 @@ const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifiedMessa
backgroundColor: "var(--vscode-badge-background)", backgroundColor: "var(--vscode-badge-background)",
color: "var(--vscode-badge-foreground)", color: "var(--vscode-badge-foreground)",
borderRadius: "3px", borderRadius: "3px",
padding: "8px", padding: "9px",
whiteSpace: "pre-line", whiteSpace: "pre-line",
wordWrap: "break-word", wordWrap: "break-word",
}}> }}>

View File

@@ -41,7 +41,7 @@ const CodeAccordian = ({ code, diff, language, path, isFeedback, isExpanded, onT
display: "flex", display: "flex",
justifyContent: "space-between", justifyContent: "space-between",
alignItems: "center", alignItems: "center",
padding: "6px 10px", padding: "9px 10px",
cursor: "pointer", cursor: "pointer",
userSelect: "none", userSelect: "none",
WebkitUserSelect: "none", WebkitUserSelect: "none",
@@ -59,7 +59,7 @@ const CodeAccordian = ({ code, diff, language, path, isFeedback, isExpanded, onT
overflow: "hidden", overflow: "hidden",
textOverflow: "ellipsis", textOverflow: "ellipsis",
marginRight: "8px", marginRight: "8px",
fontSize: "11px", // fontSize: "11px",
// trick to get ellipsis at beginning of string // trick to get ellipsis at beginning of string
direction: "rtl", direction: "rtl",
textAlign: "left", textAlign: "left",