| 1 | /** |
| 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
| 3 | * |
| 4 | * This source code is licensed under the MIT license found in the |
| 5 | * LICENSE file in the root directory of this source tree. |
| 6 | */ |
| 7 | |
| 8 | .suggested-reviewers { |
| 9 | display: flex; |
| 10 | flex-direction: row; |
| 11 | justify-content: space-between; |
| 12 | gap: var(--pad); |
| 13 | overflow: hidden; |
| 14 | } |
| 15 | |
| 16 | .suggested-reviewers > div:nth-child(2) { |
| 17 | flex-shrink: 2; |
| 18 | } |
| 19 | |
| 20 | .suggested-reviewers .suggestion-header { |
| 21 | font-size: 90%; |
| 22 | font-variant: all-small-caps; |
| 23 | } |
| 24 | |
| 25 | .suggested-reviewers .suggestions { |
| 26 | display: flex; |
| 27 | flex-direction: row; |
| 28 | gap: var(--halfpad); |
| 29 | |
| 30 | --suggestion-height: 25px; |
| 31 | |
| 32 | overflow: hidden; |
| 33 | flex-wrap: wrap; |
| 34 | height: var(--suggestion-height); |
| 35 | } |
| 36 | |
| 37 | .suggested-reviewers .suggestion { |
| 38 | display: block; |
| 39 | flex: 1 0 var(--suggestion-height); |
| 40 | height: var(--suggestion-height); |
| 41 | width: fit-content; |
| 42 | max-width: fit-content; |
| 43 | box-sizing: border-box; |
| 44 | color: var(--foreground); |
| 45 | cursor: pointer; |
| 46 | } |
| 47 | |
| 48 | .suggested-reviewers .suggestion:hover { |
| 49 | background-color: var(--hover-darken); |
| 50 | } |
| 51 | |
| 52 | .suggestions-loading { |
| 53 | height: var(--suggestion-height); |
| 54 | margin: var(--halfpad); |
| 55 | } |
| 56 | |