index.less 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. .textAideInputPopover {
  2. .ant-popover-inner-content {
  3. padding: 0;
  4. cursor: pointer;
  5. }
  6. .crt {
  7. display: inline-flex;
  8. align-items: center;
  9. width: auto;
  10. margin-left: 8px;
  11. padding: 1px 4px;
  12. height: 16px;
  13. border-radius: 3px;
  14. font-size: 12px;
  15. color: #fff;
  16. border: 1px solid #1890ff;
  17. background-color: #1890ff;
  18. line-height: normal;
  19. }
  20. }
  21. .emoji {
  22. .ant-popover-inner-content {
  23. padding: 2px 0px;
  24. }
  25. }
  26. .emoji-list-scroll {
  27. width: 348px;
  28. height: 96px;
  29. margin: 7px;
  30. box-sizing: border-box;
  31. overflow-x: hidden;
  32. overflow-y: auto;
  33. scrollbar-width: thin;
  34. }
  35. .emoji-list {
  36. display: grid;
  37. grid-template-columns: repeat(10, 32px);
  38. margin-block-start: 0;
  39. margin-block-end: 0;
  40. padding-inline-start: 0;
  41. >li {
  42. height: 32px;
  43. border-radius: 6px;
  44. &:hover {
  45. background: #f2f4f7;
  46. }
  47. }
  48. img {
  49. padding: 4px;
  50. max-width: 32px;
  51. max-height: 32px;
  52. cursor: pointer;
  53. vertical-align: middle;
  54. image-rendering: -webkit-optimize-contrast;
  55. }
  56. }