Content-Length: 281531 | pFad | http://github.com/coder/coder/commit/3306f0f2a2d938233b0824be9be138efea5bebc5

E8 fix: fix broken img layout (#17525) · coder/coder@3306f0f · GitHub
Skip to content

Commit 3306f0f

Browse files
authored
fix: fix broken img layout (#17525)
resolves #17507 Before <img width="629" alt="Screenshot 2025-04-23 at 11 01 55" src="https://github.com/user-attachments/assets/79e2945b-0301-4cf5-9b25-f112bac9c2ff" /> After <img width="629" alt="Screenshot 2025-04-23 at 11 02 45" src="https://github.com/user-attachments/assets/c74d3c03-ebee-42e6-bd16-b4610139cb86" />
1 parent c1162eb commit 3306f0f

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

site/src/modules/workspaces/DynamicParameter/DynamicParameter.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,11 @@ const ParameterLabel: FC<ParameterLabelProps> = ({ parameter, isPreset }) => {
8686
return (
8787
<div className="flex items-start gap-2">
8888
{parameter.icon && (
89-
<span className="w-5 h-5">
90-
<ExternalImage
91-
className="w-full h-full mt-0.5 object-contain"
92-
alt="Parameter icon"
93-
src={parameter.icon}
94-
/>
95-
</span>
89+
<ExternalImage
90+
className="w-5 h-5 mt-0.5 object-contain"
91+
alt="Parameter icon"
92+
src={parameter.icon}
93+
/>
9694
)}
9795

9896
<div className="flex flex-col w-full gap-1">

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/coder/coder/commit/3306f0f2a2d938233b0824be9be138efea5bebc5

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy