Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/js/media-chrome-range.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ function getTemplateHTML(_attrs: Record<string, string>) {
#range {
${/* The input range acts as a hover and hit zone for input events. */ ''}
display: var(--media-time-range-hover-display, block);
bottom: var(--media-time-range-hover-bottom, -7px);
height: var(--media-time-range-hover-height, max(100% + 7px, 25px));
bottom: var(--media-time-range-hover-bottom, 0);
height: var(--media-time-range-hover-height, max(calc(100% + 7px), 25px));
Comment thread
cursor[bot] marked this conversation as resolved.
Outdated
width: 100%;
position: absolute;
cursor: var(--media-cursor, pointer);
Expand All @@ -95,8 +95,8 @@ function getTemplateHTML(_attrs: Record<string, string>) {

@media (hover: hover) {
#range {
bottom: var(--media-time-range-hover-bottom, -5px);
height: var(--media-time-range-hover-height, max(100% + 5px, 20px));
bottom: var(--media-time-range-hover-bottom, 0);
height: var(--media-time-range-hover-height, max(100%, 20px));
}
}

Expand Down
Loading