Commit 03c4baee authored by Moe Ahmadi's avatar Moe Ahmadi Committed by Commit Bot

[NTP][RQ] Visual tweaks to the MV tiles

- takes 4px off the top padding of the tile and gives it to the bottom
  padding.
- takes 4px off the top margin of the title pill and gives it to the
  top/bottom padding of the title pill.

before: screenshot/4aAFKmpkL76Qjam
after: screenshot/8MXKqLJgqyFSxz7

Fixed: 1147217
Change-Id: I59fcfa419c725b5c2f7ddbfefda6d233595494e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2530202
Auto-Submit: Moe Ahmadi <mahmadi@chromium.org>
Reviewed-by: default avatarTibor Goldschwendt <tiborg@chromium.org>
Commit-Queue: Moe Ahmadi <mahmadi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#826111}
parent 0ad7b626
...@@ -64,7 +64,8 @@ ...@@ -64,7 +64,8 @@
margin-top: 3px; margin-top: 3px;
opacity: 1; opacity: 1;
outline: none; outline: none;
padding-top: 16px; padding-bottom: 4px;
padding-top: 12px;
position: relative; position: relative;
text-decoration: none; text-decoration: none;
transition-duration: 300ms; transition-duration: 300ms;
...@@ -83,7 +84,6 @@ ...@@ -83,7 +84,6 @@
background-color: transparent; background-color: transparent;
border: none; border: none;
box-shadow: none; box-shadow: none;
padding: 16px 0 0;
} }
:host(:not([reordering_])) .tile:hover, :host(:not([reordering_])) .tile:hover,
...@@ -114,8 +114,8 @@ ...@@ -114,8 +114,8 @@
display: flex; display: flex;
height: var(--title-height); height: var(--title-height);
line-height: calc(var(--title-height) / 2); line-height: calc(var(--title-height) / 2);
margin-top: 16px; margin-top: 12px;
padding: 0 8px; padding: 2px 8px;
width: 88px; width: 88px;
} }
......
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