louislam / uptime-kuma

A fancy self-hosted monitoring tool
https://uptime.kuma.pet
MIT License
60.35k stars 5.4k forks source link

fix: expand hover trigger area of beat #5223

Closed R-HNF closed 1 month ago

R-HNF commented 1 month ago

⚠️⚠️⚠️ Since we do not accept all types of pull requests and do not want to waste your time. Please be sure that you have read pull request rules: https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma

Tick the checkbox if you understand [x]:

Description

To expand the hover trigger area for the beat, I added a parent div tag to the beat. This makes the space between beats also part of the hover trigger area.

Fixes #1272

Type of change

Please delete any options that are not relevant.

Checklist

Screenshots (if any)

The area around the beat also serves as a hover trigger area.

path: dashboard/1

image 1

image

image 2

スクリーンショット 2024-10-19 22 28 49

path: manage-status-page

スクリーンショット 2024-10-19 22 28 05

path: status/test

スクリーンショット 2024-10-19 22 30 06