openstatusHQ / openstatus

🏓 The open-source synthetic monitoring platform 🏓
https://openstatus.dev
GNU Affero General Public License v3.0
6k stars 378 forks source link

Styling issue with copy to clipboard button on single code lines [CSS] #947

Closed mxkaske closed 1 month ago

mxkaske commented 1 month ago

Reproduction / Replay Link (Optional)

No response

Description

The copy button looks fine when the code block has multiple lines. If single line, it looks off.

Possible solution, reduce the top- value to fit within a single line.

Very first changelog on /changelog page: CleanShot 2024-07-21 at 18 40 12@2x

Section on /features/monitoring page: CleanShot 2024-07-21 at 18 42 11@2x

Environment

No response

arijitdn commented 1 month ago

I will work on this

amardeep911 commented 1 month ago

Hey, I like to work on this issue.

arijitdn commented 1 month ago

Is anyone working on it? If not, can I work on it?

I am working

mxkaske commented 1 month ago

Hey guys! Feel free to create a PR and attach the issue so we know its in progress!