Skip to content

修正戊酸雌二醇页面中的内联html 并整理图片大小#1651

Open
Anatdx wants to merge 3 commits intoproject-trans:masterfrom
Anatdx:master
Open

修正戊酸雌二醇页面中的内联html 并整理图片大小#1651
Anatdx wants to merge 3 commits intoproject-trans:masterfrom
Anatdx:master

Conversation

@Anatdx
Copy link
Contributor

@Anatdx Anatdx commented Feb 21, 2026

本页中残余了数个上标标签和一个分子式标签,由于标签在网站中完全不渲染且没有 markdown 替代,已经移除防止报错;分子式标签已替换为 Unicode 字符。另,仙琚戊酸雌二醇片图片过大影响观感,因此将其缩小

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

markdownlint passed, styles LGTM!

Copy link

@project-trans-bot project-trans-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@Cryolitia Cryolitia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不建议通过修改二进制文件的方式控制图片大小,应当使用HTML和CSS属性

@Anatdx Anatdx changed the title 去除戊酸雌二醇页面中的 内联html 并缩小仙琚的图片 修正戊酸雌二醇页面中的内联html 并整理图片大小 Feb 22, 2026
@Anatdx Anatdx force-pushed the master branch 2 times, most recently from 9905631 to eac2403 Compare February 22, 2026 18:24
@Anatdx
Copy link
Contributor Author

Anatdx commented Feb 22, 2026

不建议通过修改二进制文件的方式控制图片大小,应当使用HTML和CSS属性

我尝试使用内联 html 调整样式但似乎无效,hugo 框架的 figure 也没有解析图片大小;遂向 Next-MtF-wiki 提出 pr

同时由于网站已经加入内联 html 支持,我恢复了商标上标并补齐了所有商标,分子式也由 unicode 换回了 html 来获得更好的显示兼容,所有使用内联 html 的地方均使用注释抑制 lint 报错。

pr #1649 的图片大小修改已经 revert,目前框架不解析样式的情况下,我不知如何调整图片显示大小。

@Anatdx

This comment was marked as off-topic.

@Anatdx Anatdx requested a review from Cryolitia February 27, 2026 05:00
@Cryolitia

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants