diff --git a/gui/src/components/CodeToEditCard/CodeToEditListItem.tsx b/gui/src/components/CodeToEditCard/CodeToEditListItem.tsx
index 59f630c9a..b457d3a69 100644
--- a/gui/src/components/CodeToEditCard/CodeToEditListItem.tsx
+++ b/gui/src/components/CodeToEditCard/CodeToEditListItem.tsx
@@ -16,7 +16,6 @@ export interface CodeToEditListItemProps {
onClickFilename: (codeToEdit: CodeToEdit) => void;
}
-// Easiest method to overwrite the top level styling of the markdown preview
const NoPaddingWrapper = styled.div`
> * {
margin: 0 !important;
@@ -67,7 +66,7 @@ export default function CodeToEditListItem({
onClick={() => setShowCodeSnippet((showCodeSnippet) => !showCodeSnippet)}
>
@@ -82,22 +81,20 @@ export default function CodeToEditListItem({
{title}
- {" "}
- {/* Added flex-grow */}
{fileSubpath}
-
-
+
+
{showCodeSnippet ? (
{
e.stopPropagation();
setShowCodeSnippet(false);
}}
- className="text-lightgray hover:bg-lightgray hover:text-vsc-foreground h-3.5 w-3.5 cursor-pointer rounded-md rounded-sm p-0.5 hover:bg-opacity-20"
+ className="text-lightgray hover:bg-lightgray hover:text-vsc-foreground h-3.5 w-3.5 cursor-pointer rounded-sm p-0.5 hover:bg-opacity-20"
/>
) : (
)}
-
{
- e.stopPropagation();
- onDelete(code);
- }}
- className="text-lightgray hover:bg-lightgray hover:text-vsc-foreground h-3.5 w-3.5 cursor-pointer rounded-md rounded-sm p-0.5 hover:bg-opacity-20"
- />
+
+ {
+ e.stopPropagation();
+ onDelete(code);
+ }}
+ className="text-lightgray hover:bg-lightgray hover:text-vsc-foreground h-3.5 w-3.5 cursor-pointer rounded-sm p-0.5 hover:bg-opacity-20"
+ />
+