index.css 746 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. .text-message {
  2. display: inline-flex;
  3. max-width: 60vw;
  4. line-height: 52rpx;
  5. padding: 12rpx 24rpx;
  6. background: #1F1A30;
  7. color: #ffffff;
  8. border-radius: 16rpx 4rpx 16rpx 16rpx;
  9. }
  10. .my-text {
  11. border-radius: 16rpx 4rpx 16rpx 16rpx;
  12. background: #6C52F4;
  13. }
  14. .message-body-span {
  15. display: flex;
  16. justify-content: center;
  17. align-items: center;
  18. /*justify-content: flex-start;*/
  19. flex-wrap: wrap;
  20. outline: none;
  21. font-size: 28rpx;
  22. color: #ffffff;
  23. position: relative;
  24. max-width: 60vw;
  25. }
  26. .message-body-span-text {
  27. width: 100%;
  28. display: inline;
  29. word-wrap: break-word;
  30. word-break: break-all;
  31. }
  32. .message-body-span-image {
  33. display: inline-block;
  34. width: 32rpx;
  35. height: 32rpx;
  36. margin: 0 4rpx;
  37. }
  38. .emoji-icon {
  39. width: 20px;
  40. height: 20px;
  41. }