| 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 | .see-more-container { |
| 9 | width: 100%; |
| 10 | position: relative; |
| 11 | display: flex; |
| 12 | flex-direction: column; |
| 13 | } |
| 14 | .see-more-container-collapsed { |
| 15 | overflow-y: hidden; |
| 16 | } |
| 17 | |
| 18 | .see-less-button, |
| 19 | .see-more-button { |
| 20 | display: flex; |
| 21 | justify-content: center; |
| 22 | width: 100%; |
| 23 | } |
| 24 | .see-more-button { |
| 25 | position: absolute; |
| 26 | bottom: 0; |
| 27 | background: linear-gradient(0deg, var(--background), var(--background), transparent); |
| 28 | /* extra padding for the gradient to transition */ |
| 29 | padding-top: calc(2 * var(--pad)); |
| 30 | } |
| 31 | |