Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit82fdb6a

Browse files
fix: fix size for non-squared app icons (#17663)
**Before:**![image](https://github.com/user-attachments/assets/e7544b00-24b0-405c-b763-49a9a009c1d2)**After:**<img width="192" alt="Screenshot 2025-05-02 at 14 36 19"src="https://github.com/user-attachments/assets/59cb4531-06fd-44bc-b4b9-4441f2dce79a"/>
1 parent3be6487 commit82fdb6a

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

‎site/src/modules/resources/AgentButton.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ export const AgentButton = forwardRef<HTMLButtonElement, ButtonProps>(
1919
"& .MuiButton-startIcon, & .MuiButton-endIcon":{
2020
width:16,
2121
height:16,
22-
"& svg":{width:"100%",height:"100%"},
22+
23+
"& svg, & img":{width:"100%",height:"100%"},
2324
},
2425
})}
2526
>

‎site/src/modules/resources/AppLink/AppLink.stories.tsx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,19 @@ export const WithIcon: Story = {
6262
},
6363
};
6464

65+
exportconstWithNonSquaredIcon:Story={
66+
args:{
67+
workspace:MockWorkspace,
68+
app:{
69+
...MockWorkspaceApp,
70+
icon:"/icon/windsurf.svg",
71+
sharing_level:"owner",
72+
health:"healthy",
73+
},
74+
agent:MockWorkspaceAgent,
75+
},
76+
};
77+
6578
exportconstExternalApp:Story={
6679
args:{
6780
workspace:MockWorkspace,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp