Skip to content

fix: banner width adapt to the screen size#187

Merged
chenyme merged 1 commit intolinux-do:masterfrom
small-lovely-cat:fix-banner-width-adaption
Feb 16, 2026
Merged

fix: banner width adapt to the screen size#187
chenyme merged 1 commit intolinux-do:masterfrom
small-lovely-cat:fix-banner-width-adaption

Conversation

@small-lovely-cat
Copy link
Contributor

例行检查

  • 我已阅读并理解 贡献者公约
  • 我已阅读并同意 贡献者许可协议 (CLA),确认我的贡献将根据项目的 Apache2.0 许可证进行许可
  • 我知晓如果此 PR 并不做出实质性更改,或可被认为是为了PR被合并而提交PR的,则可能不会被合并

关联信息
/t/-/1614021

变更内容

顶部"「LINUX DO Credit」实时积分收入脚本已发布 查看详情" banner适配狭窄屏幕宽度

屏幕录制 2026-02-14 114813

变更原因

之前的banner在较为狭窄的屏幕上,会使得"查看详情"被截断为两行,同时链接会和关闭按钮重叠,导致关闭按钮无法点击:

像这样:
image

修改以后就可以适配各种屏幕比例了。

@chenyme chenyme merged commit 0636df5 into linux-do:master Feb 16, 2026
9 checks passed
@small-lovely-cat small-lovely-cat deleted the fix-banner-width-adaption branch February 16, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants