You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
438B

  1. .search-container {
  2. display: inline-block;
  3. position: relative;
  4. width: 300px;
  5. input {
  6. width: 100%;
  7. }
  8. }
  9. .search-results {
  10. display: none;
  11. position: absolute;
  12. background: white;
  13. color: black;
  14. padding: 1rem;
  15. width: 100%;
  16. box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.5);
  17. max-height: 500px;
  18. overflow: auto;
  19. &__items {
  20. list-style: none;
  21. }
  22. &__item {
  23. margin-bottom: 1rem;
  24. font-size: 0.9rem;
  25. }
  26. }