Logo
Explore Help
Sign In
yenru0/zed
Watch 1
Star 0 Fork 0
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
242925c904ed0d64d3facac25dbb93be5c01acdd
zed/crates/gpui/examples/image
T
History
Jason Lee 232af137a6 gpui: Maintain img aspect ratio when max_width is set (#25632)
Release Notes:

- Fixed Markdown preview to display image with max width 100%.

## Before

<img width="1202" alt="image"
src="https://github.com/user-attachments/assets/359628df-8746-456f-a768-b3428923c937"
/>
<img width="750" alt="SCR-20250226-napv"
src="https://github.com/user-attachments/assets/f6154516-470e-41b2-84f5-ef0612c447ad"
/>


## After

<img width="1149" alt="image"
src="https://github.com/user-attachments/assets/2279347d-9c69-4a47-bb62-ccc8e55a98f6"
/>
<img width="520" alt="SCR-20250226-ngyz"
src="https://github.com/user-attachments/assets/03af5f14-1935-472e-822f-4c7f62630780"
/>
2025-03-03 12:36:27 +01:00
..
app-icon.png
gpui: use a separate image in the image example and remove unnecessary examples (#8181)
2024-02-22 11:47:24 +02:00
arrow_circle.svg
Add an animation to the LSP checking indicator (#9463)
2024-03-19 10:16:18 -07:00
black-cat-typing.gif
gpui: Add support for animated images (#13809)
2024-07-27 14:05:37 +02:00
color.svg
gpui: Fix SVG color render, when color have alpha (#20537)
2024-11-16 16:53:57 +02:00
image.rs
gpui: Maintain img aspect ratio when max_width is set (#25632)
2025-03-03 12:36:27 +01:00
Powered by Gitea Version: 28.1.0 Page: 359ms Template: 1ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API