Commit d8534f9b authored by John Lee's avatar John Lee Committed by Commit Bot

WebUI Tab Strip: Push tab group's drag image down

On line 89, the drag image has a padding and is translated up, which
causes the drag image to peak up a bit while the group is being
dragged. This is more noticeable when there's a scrollbar.

Before and after: https://imgur.com/a/p6UH8e9

Change-Id: If75024d5b3dec3ceffa7a82bdaf6ab52172fa0c1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2292860Reviewed-by: default avatardpapad <dpapad@chromium.org>
Commit-Queue: John Lee <johntlee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#787830}
parent 1f763a92
......@@ -164,7 +164,7 @@
:host([dragging]) #dragImage {
/* Position the actual drag image out of view so it is not visible. */
position: absolute;
top: 100vh;
top: calc(100vh + var(--drag-image-padding));
}
</style>
......
Markdown is supported
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