index.wxss 715 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. .zan-noticebar {
  2. display: -webkit-box;
  3. display: flex;
  4. /* padding: 4px 10px; */
  5. font-size: 26rpx;
  6. line-height: 1.5;
  7. }
  8. .zan-noticebar--within-icon {
  9. position: relative;
  10. padding-right: 60rpx;
  11. }
  12. .zan-noticebar__left-icon {
  13. height: 36rpx;
  14. min-width: 40rpx;
  15. padding-top: 1rpx;
  16. box-sizing: border-box;
  17. }
  18. .zan-noticebar__left-icon>.image {
  19. width: 32rpx;
  20. height: 32rpx;
  21. }
  22. .zan-noticebar__right-icon {
  23. position: absolute;
  24. top: 20rpx;
  25. right: 20rpx;
  26. font-size: 30rpx;
  27. line-height: 1;
  28. }
  29. .zan-noticebar__content-wrap {
  30. position: relative;
  31. -webkit-box-flex: 1;
  32. flex: 1;
  33. height: 36rpx;
  34. overflow: hidden;
  35. }
  36. .zan-noticebar__content {
  37. position: absolute;
  38. white-space: nowrap;
  39. }