halo-dev / theme-earth

Halo 2.0 的默认主题
https://demo.halo.run/?preview-theme=theme-earth
GNU General Public License v3.0
42 stars 54 forks source link

fix: link overflow #68

Closed L-fw closed 1 year ago

L-fw commented 1 year ago

What type of PR is this?

/kind improvement

What this PR does / why we need it:

修复文章中链接过长溢出的问题。

image

Which issue(s) this PR fixes:

halo里的“当一个链接过长时,出现超越屏幕边界的问题” #3474 https://github.com/halo-dev/halo/issues/3474

Special notes for your reviewer:

发现问题好像是由于把整个链接看作了一个单词导致无法换行,加上css属性“word-wrap:break-word”,让他在找不到换行位置的时候也换行。

Does this PR introduce a user-facing change?

none
f2c-ci-robot[bot] commented 1 year ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: guqing, ruibaby

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/halo-dev/theme-earth/blob/main/OWNERS)~~ [guqing,ruibaby] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment