halo-sigs / plugin-highlightjs

集成 highlight.js 为文章提供代码块高亮渲染
https://halo.run/store/apps/app-sqpgf
GNU General Public License v3.0
8 stars 5 forks source link

refactor: styles of copy button #14

Closed ruibaby closed 6 months ago

ruibaby commented 6 months ago

优化复制按钮的显示方式,修复出现多个滚动条的问题。

/kind bug

Fixes #13

before:

image image

after:

image
优化复制按钮的显示方式,修复出现多个滚动条的问题。
f2c-ci-robot[bot] commented 6 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JohnNiang

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-sigs/plugin-highlightjs/blob/main/OWNERS)~~ [JohnNiang] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment