[menus] All submenu in files-ng shall have margin-top: 0
Patch 1 / 3: in the code flow that shows submenu, we must position the submenu using getComputedStyle. Just before that style recalc, set the submenu margin-top to 0 using inline style. The inline style overrides all CSS and all submenu's of files-app have 0 margin-top as a result. In particular, #tasks-menu, #share-menu will no longer accidently get 8px margin-top (issue 1066727#c23). Bug: 1066727 Change-Id: I7620d88b5026a436a94b2d1cdefed5acfa3851f1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2301610Reviewed-by:Alex Danilo <adanilo@chromium.org> Commit-Queue: Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#789334}
Showing
Please register or sign in to comment