| b69ab31 | | | 1 | /** |
| b69ab31 | | | 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
| b69ab31 | | | 3 | * |
| b69ab31 | | | 4 | * This source code is licensed under the MIT license found in the |
| b69ab31 | | | 5 | * LICENSE file in the root directory of this source tree. |
| b69ab31 | | | 6 | */ |
| b69ab31 | | | 7 | |
| b69ab31 | | | 8 | .see-more-container { |
| b69ab31 | | | 9 | width: 100%; |
| b69ab31 | | | 10 | position: relative; |
| b69ab31 | | | 11 | display: flex; |
| b69ab31 | | | 12 | flex-direction: column; |
| b69ab31 | | | 13 | } |
| b69ab31 | | | 14 | .see-more-container-collapsed { |
| b69ab31 | | | 15 | overflow-y: hidden; |
| b69ab31 | | | 16 | } |
| b69ab31 | | | 17 | |
| b69ab31 | | | 18 | .see-less-button, |
| b69ab31 | | | 19 | .see-more-button { |
| b69ab31 | | | 20 | display: flex; |
| b69ab31 | | | 21 | justify-content: center; |
| b69ab31 | | | 22 | width: 100%; |
| b69ab31 | | | 23 | } |
| b69ab31 | | | 24 | .see-more-button { |
| b69ab31 | | | 25 | position: absolute; |
| b69ab31 | | | 26 | bottom: 0; |
| b69ab31 | | | 27 | background: linear-gradient(0deg, var(--background), var(--background), transparent); |
| b69ab31 | | | 28 | /* extra padding for the gradient to transition */ |
| b69ab31 | | | 29 | padding-top: calc(2 * var(--pad)); |
| b69ab31 | | | 30 | } |