• Curt Clemens's avatar
    [Nearby] Fix share target list hitbox and scroll, adjust layout, colors · 608ae5a0
    Curt Clemens authored
    After the third element in the share target list, clicking would not
    select properly. The problem was the transparent ripple animation being
    higher in the z-order and capturing the click events.
    
    The share target list wasn't scrolling because its height wasn't fixed.
    Setting its flexbox alignment to stretch allows it to fill its parent
    div without overflowing.
    
    A number of small adjustments to layout included, mostly to bring
    margins closer to spec. The page template title and subtitle font sizes
    and line heights have been adjusted.
    
    Some minor changes to colors. A white background has been added to
    the share target list items so that the ripple animation doesn't show
    through. The gradient at the bottom of the discovery page is simplified.
    Hard-coded colors have been replaced with variables in several places.
    
    Fix: 1151374
    Change-Id: Ie405cd046559c3b7c82bfb86a226c77aba2283df
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2551590Reviewed-by: default avatarJames Vecore <vecore@google.com>
    Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
    Commit-Queue: Curt Clemens <cclem@google.com>
    Cr-Commit-Position: refs/heads/master@{#829816}
    608ae5a0
nearby_device.html 1.4 KB