Commit d1b4f6d1 authored by Gavin Williams's avatar Gavin Williams Committed by Chromium LUCI CQ

scanning: Make whole Show File Location row clickable

Make whole row clickable to match the behavior of the More settings
button.

Bug: 1059779
Change-Id: Ia1da833b14cb835e090f3f37fb47faeef3c948be
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2613920Reviewed-by: default avatarJesse Schettler <jschettler@chromium.org>
Commit-Queue: Gavin Williams <gavinwill@chromium.org>
Cr-Commit-Position: refs/heads/master@{#841136}
parent 5000831a
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
@apply --scanning-done-section-option-font; @apply --scanning-done-section-option-font;
align-items: center; align-items: center;
color: var(--scanning-done-section-option-text-color); color: var(--scanning-done-section-option-text-color);
cursor: pointer;
display: flex; display: flex;
height: 36px; height: 36px;
margin-bottom: 8px; margin-bottom: 8px;
...@@ -68,12 +69,12 @@ ...@@ -68,12 +69,12 @@
[[titleText_]] [[titleText_]]
</h1> </h1>
</div> </div>
<div class="container"> <div class="container" on-click="showFileInLocation_">
<span id="showFileLocationLabel" class="label" aria-hidden="true"> <span id="showFileLocationLabel" class="label" aria-hidden="true">
[[i18n('showFileLocationLabel')]] [[i18n('showFileLocationLabel')]]
</span> </span>
<cr-icon-button id="showFileButton" class="button" iron-icon="cr:open-in-new" <cr-icon-button id="showFileButton" class="button" iron-icon="cr:open-in-new"
on-click="showFileInLocation_" aria-labelledby="showFileLocationLabel"> aria-labelledby="showFileLocationLabel">
</cr-icon-button> </cr-icon-button>
</div> </div>
<div id="doneButtonContainer"> <div id="doneButtonContainer">
......
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