h5.scss 563 B

123456789101112131415161718192021222324252627282930
  1. .words-h5 {
  2. width: 100%;
  3. box-sizing: border-box;
  4. max-height: 80vh;
  5. height: fit-content;
  6. overflow: hidden;
  7. display: flex;
  8. flex-direction: column;
  9. &-header {
  10. &-title {
  11. font-size: 18px;
  12. line-height: 40px;
  13. }
  14. }
  15. &-list {
  16. flex: 1;
  17. overflow-y: scroll;
  18. &-item {
  19. cursor: none;
  20. -webkit-tap-highlight-color: transparent;
  21. -moz-tap-highlight-color: transparent;
  22. padding: 12px 0;
  23. font-size: 16px;
  24. color: #50545c;
  25. line-height: 18px;
  26. border-bottom: 1px solid #eeeeee;
  27. }
  28. }
  29. }