[x] I have read and understand the pull request rules.
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.
Added <div class="beat-hover-area">.
Moved the hover trigger from beat to beat-hover-area.
Use beatHoverAreaPadding instead of beatMargin.
Fixes #1272
Type of change
Please delete any options that are not relevant.
User interface (UI)
Checklist
[x] My code follows the style guidelines of this project
[x] I ran ESLint and other linters for modified files
[x] I have performed a self-review of my own code and tested it
[x] I have commented my code, particularly in hard-to-understand areas (including JSDoc for methods)
[x] My changes generates no new warnings
[ ] My code needed automated testing. I have added them (this is optional task)
Screenshots (if any)
The area around the beat also serves as a hover trigger area.
⚠️⚠️⚠️ 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.
<div class="beat-hover-area">
.beatHoverAreaPadding
instead ofbeatMargin
.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 2
path:
manage-status-page
path:
status/test