_single.scss 623 B

12345678910111213141516171819202122232425262728293031323334
  1. .select2-selection--single {
  2. box-sizing: border-box;
  3. cursor: pointer;
  4. display: block;
  5. height: 36px;
  6. user-select: none;
  7. -webkit-user-select: none;
  8. .select2-selection__rendered {
  9. display: block;
  10. padding-left: 8px;
  11. padding-right: 20px;
  12. overflow: hidden;
  13. text-overflow: ellipsis;
  14. white-space: nowrap;
  15. }
  16. .select2-selection__clear {
  17. position: relative;
  18. }
  19. }
  20. &[dir="rtl"] {
  21. .select2-selection--single {
  22. .select2-selection__rendered {
  23. padding-right: 8px;
  24. padding-left: 20px;
  25. }
  26. }
  27. }