e7c2c70d1a
This works in the same way as the `lang` option, which pulls directly from the `dir` property on DOM nodes.
29 lines
466 B
SCSS
29 lines
466 B
SCSS
.select2-selection--single {
|
|
box-sizing: border-box;
|
|
|
|
cursor: pointer;
|
|
display: block;
|
|
|
|
height: 28px;
|
|
|
|
user-select: none;
|
|
-webkit-user-select: none;
|
|
|
|
.select2-selection__rendered {
|
|
display: block;
|
|
overflow: hidden;
|
|
padding-left: 8px;
|
|
padding-right: 20px;
|
|
text-overflow: ellipsis;
|
|
}
|
|
}
|
|
|
|
&[dir="rtl"] {
|
|
.select2-selection--single {
|
|
.select2-selection__rendered {
|
|
padding-right: 8px;
|
|
padding-left: 20px;
|
|
}
|
|
}
|
|
}
|