/*! * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. */ .ouiComment { font-size: $ouiFontSizeS; display: flex; padding-bottom: $ouiSize; min-height: $ouiSize * 3.5; .ouiCommentEvent { flex-grow: 1; } .ouiCommentTimeline { position: relative; flex-grow: 0; margin-right: $ouiSize; &::before { content: ''; position: absolute; left: $ouiSizeXXL / 2; top: $ouiSizeL; width: $ouiSizeXS / 2; background-color: $ouiColorLightShade; height: calc(100% + #{$ouiSizeL}); } } } .ouiComment:last-of-type { .ouiCommentTimeline { &::before { display: none; } } } .ouiComment--update:not(.ouiComment--hasBody) { align-items: center; }