Commit 5268987f authored by Kyle Milka's avatar Kyle Milka Committed by Commit Bot

[NTP] Correct width and height of outline on selected tile

The width and height of the selected outline should be equal to
the dimensions of the parent subtract two times the pixel width
of the outline.

Bug: 899683
Change-Id: I9c2c8fc669651fe713e1aa431438c3fe02881543
Reviewed-on: https://chromium-review.googlesource.com/c/1335780Reviewed-by: default avatarKristi Park <kristipark@chromium.org>
Commit-Queue: Kyle Milka <kmilka@chromium.org>
Cr-Commit-Position: refs/heads/master@{#608150}
parent 169880de
...@@ -485,9 +485,10 @@ html[dir=rtl] .bg-sel-tile-bg { ...@@ -485,9 +485,10 @@ html[dir=rtl] .bg-sel-tile-bg {
.selected-border { .selected-border {
border: 2px solid rgba(26, 115, 232, .4); border: 2px solid rgba(26, 115, 232, .4);
border-radius: 4px; border-radius: 4px;
height: 113px; box-sizing: border-box;
height: 100%;
position: relative; position: relative;
width: 152px; width: 100%;
} }
.selected-circle { .selected-circle {
......
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