mentionui.css 654 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
  4. */
  5. :root {
  6. --ck-mention-list-max-height: 300px;
  7. }
  8. .ck.ck-mentions {
  9. max-height: var(--ck-mention-list-max-height);
  10. overflow-y: auto;
  11. /* Prevent unnecessary horizontal scrollbar in Safari
  12. https://github.com/ckeditor/ckeditor5-mention/issues/41 */
  13. overflow-x: hidden;
  14. overscroll-behavior: contain;
  15. /* Prevent unnecessary vertical scrollbar in Safari
  16. https://github.com/ckeditor/ckeditor5-mention/issues/41 */
  17. & > .ck-list__item {
  18. overflow: hidden;
  19. flex-shrink: 0;
  20. }
  21. }