Skip to content

Commit

Permalink
[Files] Update z-index for empty status label
Browse files Browse the repository at this point in the history
"z-index: 999" is too high which will clash with the context
menu, reduce it to 500.

Demo:
before: http://screen/5TZ7QdMtspENf2d.png
after: http://screen/Aowbhj7QTCWVkwe.png

Bug: b:284910644
Change-Id: I507500e36dabc17de6e690493486f87222a31801
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4569578
Reviewed-by: Cassy Chun-Crogan <cassycc@google.com>
Commit-Queue: Wenbo Jie <wenbojie@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1150414}
  • Loading branch information
PinkyJie authored and Chromium LUCI CQ committed May 30, 2023
1 parent ed608a1 commit ba86be5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,7 @@ body.check-select #offline-folder-indicator {
text-align: center;
/* Ensure links in label are on top when not hidden so a click is not
absorbed by an empty file-list. */
z-index: 999;
z-index: 500; /* Must be below the contextmenu (600). */
}

#empty-folder > .label > span#empty-folder-title {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ body.check-select #offline-folder-indicator {
width: 320px;
/* Ensure links in label are on top when not hidden so a click is not
absorbed by an empty file-list. */
z-index: 999;
z-index: 500; /* Must be below the contextmenu (600). */
}

#empty-folder #empty-folder-title {
Expand Down

0 comments on commit ba86be5

Please sign in to comment.