| 1234567891011121314151617181920212223242526272829303132333435363738 |
- @use '@growi/core/scss/bootstrap/init' as bs;
- @use './comment-inheritance';
- @use '../PageEditor/page-editor-inheritance';
- // display cheatsheet for comment form only
- .comment-editor-styles :global {
- .comment-form {
- position: relative;
- // background
- .bg-comment {
- @extend %bg-comment
- }
- // user icon
- .picture {
- @extend %picture;
- }
- }
- }
- // adjust height
- .comment-editor-styles :global {
- .cm-editor {
- min-height: comment-inheritance.$codemirror-default-height !important;
- max-height: #{2 * comment-inheritance.$codemirror-default-height};
- }
- .cm-gutters {
- min-height: comment-inheritance.$codemirror-default-height !important;
- }
- .comment-preview-container {
- min-height: page-editor-inheritance.$navbar-editor-height
- + comment-inheritance.$codemirror-default-height;
- padding-top: 0.5em;
- }
- }
|