Skip to content
Snippets Groups Projects
Commit ad9ea3c8 authored by Xiao Gui's avatar Xiao Gui
Browse files

feat: adjust width & thickness of pip scrubber

parent 98873161
No related branches found
No related tags found
No related merge requests found
...@@ -50,14 +50,17 @@ img ...@@ -50,14 +50,17 @@ img
.scrubber .scrubber
{ {
--scrubber-width: 0.28rem;
opacity: 0.7;
pointer-events: none; pointer-events: none;
width: 100%; width: 100%;
height: 100%; height: 100%;
display: inline-block; display: inline-block;
border-style: solid; border-style: solid;
border-width: 0 0 0 0.5rem; border-width: 0 0 0 var(--scrubber-width);
margin-left: -0.25rem; margin-left: calc(var(--scrubber-width) * -0.5);
border-color: rgba(10, 10, 10, 0.5); border-color: rgba(10, 10, 10, 0.5);
} }
...@@ -72,8 +75,8 @@ img ...@@ -72,8 +75,8 @@ img
background-color: red; background-color: red;
display: inline-block; display: inline-block;
height: 100%; height: 100%;
width: 0.5rem; width: var(--scrubber-width);
margin-left: -0.5rem; margin-left: calc(var(--scrubber-width) * -1);
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment