Skip to content

Commit

Permalink
scanning: Fix shadow height on scanned image
Browse files Browse the repository at this point in the history
This change fixes the gap between the bottom of the scanned image border
and its focus shadow.

Before: http://screen/6tdVfoSCvnEy72p
After: http://screen/5LVWsQbm3NEdkAy

Bug: 1059779
Change-Id: I31c30b9cc940b8b4394da71fc4b3287dc43a4527
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2618557
Reviewed-by: Jesse Schettler <[email protected]>
Reviewed-by: Zentaro Kavanagh <[email protected]>
Commit-Queue: Gavin Williams <[email protected]>
Cr-Commit-Position: refs/heads/master@{#841823}
  • Loading branch information
Gavin Williams authored and Chromium LUCI CQ committed Jan 9, 2021
1 parent 6d65459 commit fda547b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chromeos/components/scanning/resources/scan_preview.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@
width: calc(100% - 2px);
}

.scanned-image {
display: block;
}

/* Add top margin to all but the first scanned image. */
.scanned-image:nth-of-type(n+2) {
margin-top: 8px;
Expand Down

0 comments on commit fda547b

Please sign in to comment.