1
0
mirror of synced 2024-11-23 05:26:10 +03:00
select2/src/scss/_single.scss
Kevin Brown e7c2c70d1a Added RTL support to Select2
This works in the same way as the `lang` option, which pulls
directly from the `dir` property on DOM nodes.
2014-12-17 22:08:58 -05:00

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;
}
}
}