@import "src/styles/variables"; .wrap { user-select: none; overflow: hidden; position: relative; flex: 0 0 auto; &::after { content: ' '; position: absolute; background: linear-gradient(transparentize($content_bg, 1), $content_bg); border-radius: 0 0 $radius $radius; height: 100px; width: 100%; left: 0; bottom: 0; } &:global(.is_loading) { opacity: 1; .card { background: $placeholder_bg; animation: fade 0.5s infinite alternate; } } @include tablet { display: none; } } .card { opacity: 0.3; border-radius: $radius; height: 96px; background: $placeholder_bg; display: flex; align-items: center; justify-content: center; flex: 0 0 $comment_height; } .nothing { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font: $font_18_semibold; text-transform: uppercase; color: darken(white, 75%); height: 20px; margin-top: 0 !important; }