Content-Length: 1246 | pFad | http://github.com/coder/coder/pull/17669.diff
thub.com
diff --git a/site/src/modules/resources/AgentButton.tsx b/site/src/modules/resources/AgentButton.tsx
index 580358abdd73d..2f772e4f8e0ca 100644
--- a/site/src/modules/resources/AgentButton.tsx
+++ b/site/src/modules/resources/AgentButton.tsx
@@ -19,7 +19,8 @@ export const AgentButton = forwardRef(
"& .MuiButton-startIcon, & .MuiButton-endIcon": {
width: 16,
height: 16,
- "& svg": { width: "100%", height: "100%" },
+
+ "& svg, & img": { width: "100%", height: "100%" },
},
})}
>
diff --git a/site/src/modules/resources/AppLink/AppLink.stories.tsx b/site/src/modules/resources/AppLink/AppLink.stories.tsx
index db6fbf02c69da..94cb0e2010b66 100644
--- a/site/src/modules/resources/AppLink/AppLink.stories.tsx
+++ b/site/src/modules/resources/AppLink/AppLink.stories.tsx
@@ -62,6 +62,19 @@ export const WithIcon: Story = {
},
};
+export const WithNonSquaredIcon: Story = {
+ args: {
+ workspace: MockWorkspace,
+ app: {
+ ...MockWorkspaceApp,
+ icon: "/icon/windsurf.svg",
+ sharing_level: "owner",
+ health: "healthy",
+ },
+ agent: MockWorkspaceAgent,
+ },
+};
+
export const ExternalApp: Story = {
args: {
workspace: MockWorkspace,
--- a PPN by Garber Painting Akron. With Image Size Reduction included!Fetched URL: http://github.com/coder/coder/pull/17669.diff
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy