Download wp-calypso/client/blocks/comments/post-comment-content.scss from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.02 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/blocks/comments/post-comment-content.scss
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/blocks/comments/post-comment-content.scss
-
curl -L -o post-comment-content.scss https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/blocks/comments/post-comment-content.scss
1.02 kB
| /* stylelint-disable-next-line scss/load-no-partial-leading-underscore */ | |
| @import "calypso/assets/stylesheets/shared/_rendered-blocks"; | |
| // Post comments line-clamping | |
| .comments__comment-content-wrapper { | |
| position: relative; | |
| @include clear-fix; | |
| &.is-single-line, | |
| &.is-single-line .comments__comment-content { | |
| max-height: $font-body * 1.6; | |
| } | |
| &.is-excerpt, | |
| &.is-excerpt .comments__comment-content { | |
| max-height: $font-body * 1.6 * 3; // 3 lines | |
| } | |
| &.is-single-line .comments__comment-content, | |
| &.is-excerpt .comments__comment-content { | |
| overflow: hidden; | |
| } | |
| } | |
| // Hide certain elements in excerpt comments | |
| .comments__comment-content-wrapper.is-excerpt { | |
| blockquote { | |
| display: none; | |
| } | |
| } | |
| .comments__comment-content-wrapper.is-excerpt .comments__comment-content p { | |
| margin-bottom: 0; | |
| } | |
| .comments__comment-content-wrapper.is-excerpt .comments__comment-content blockquote { | |
| margin: 10px 0 16px; | |
| } | |
| .comments__comment-content { | |
| @extend %rendered-block-content; | |
| font-family: $sans; | |
| line-height: 1.56; | |
| } | |