CommentEditor.module.scss 865 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. @use '~/styles/bootstrap/init' as bs;
  2. @use './comment-inheritance';
  3. @use '../PageEditor/page-editor-inheritance';
  4. // display cheatsheet for comment form only
  5. .comment-editor-styles :global {
  6. .comment-form {
  7. position: relative;
  8. margin-top: 1em;
  9. // user icon
  10. .picture {
  11. @extend %picture;
  12. }
  13. // seciton
  14. .comment-form-main {
  15. @extend %comment-section;
  16. margin-left: 4.5em;
  17. @include bs.media-breakpoint-down(xs) {
  18. margin-left: 3.5em;
  19. }
  20. }
  21. // textarea
  22. .comment-write {
  23. margin-bottom: 0.5em;
  24. }
  25. .comment-form-preview {
  26. padding-top: 0.5em;
  27. }
  28. }
  29. .page-comment-editor-skelton {
  30. height: comment-inheritance.$codemirror-default-height;
  31. margin-top: page-editor-inheritance.$navbar-editor-height;
  32. margin-bottom: bs.$line-height-base + bs.$btn-padding-y;
  33. }
  34. }