Skip to content

Commit

Permalink
Fix ruby images
Browse files Browse the repository at this point in the history
The words of this poem are in the wrong order, the correct one is: '秋风萧瑟'.
  • Loading branch information
bramus committed Dec 6, 2024
1 parent c021eed commit f1e6970
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
Binary file modified public/images/ruby_after.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/ruby_before.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 11 additions & 4 deletions src/features/developerexperience/ruby-align.astro
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ const slug = slugify(title);
<figure>
<img
src="./images/ruby_before.png"
width="2454"
height="651"
width="1860"
height="492"
loading="lazy"
alt="Rendering result before Chrome 128 with long ruby annotation text."
/>
Expand All @@ -48,8 +48,8 @@ const slug = slugify(title);
<figure>
<img
src="./images/ruby_after.png"
width="584"
height="796"
width="455"
height="1722"
loading="lazy"
alt="Rendering result from Chrome 128 with long ruby annotation text."
/>
Expand Down Expand Up @@ -87,3 +87,10 @@ const slug = slugify(title);
</div>
</footer>
</FeatureLayout>

<style>
figure img {
width: 100%;
height: auto;
}
</style>

0 comments on commit f1e6970

Please sign in to comment.