Properly align the fallback icon in case there's no owners Screenshot: https://imgur.com/a/Pa9yy1k Google-Bug-Id: b/261413987 Release-Notes: skip Change-Id: I3a28fe732a54da46f5ab5d4506e9f5f9176eb0b4
diff --git a/web/owner-status-column.ts b/web/owner-status-column.ts index 19f02cb..905d2ec 100644 --- a/web/owner-status-column.ts +++ b/web/owner-status-column.ts
@@ -214,6 +214,10 @@ .error { color: var(--negative-red-text-color); } + .fallback-icon { + /* Undo the padding for the gr-avatar-stack in case of fallback */ + padding: calc(-1 * var(--spacing-xs)) 0px; + } `, ]; } @@ -277,7 +281,7 @@ aria-description="No reviewer owns this file" has-tooltip > - <gr-icon icon="help" class="error"></gr-icon> + <gr-icon icon="help" class="error fallback-icon"></gr-icon> </gr-tooltip-content> </gr-avatar-stack> ${allOwners.length > 3