• Curt Clemens's avatar
    [Nearby] Fix share target list button state, align list to top · 993ca5b6
    Curt Clemens authored
    The <nearby-device> items inside the <iron-list> of share targets on the
    discovery page weren't getting styled correctly on selection because
    their is-selected property wasn't getting set with the right value by
    the binding. This had to do with changes to the order in which the
    bindings update introduced when this list was moved into a dom-if.
    
    The list is also now aligned to the top of its div. It was mistakenly
    aligned to the center when the placeholder text was introduced, which
    had to be centered.
    
    Bug: b/163036847
    Change-Id: I80798c02088f223ab3e76f2ac5797fb92a2522e8
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2537999
    Commit-Queue: Curt Clemens <cclem@google.com>
    Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#827542}
    993ca5b6
nearby_discovery_page.html 3.61 KB