blob: 7006adab1336246aa5e9f6af6694dc6aed4aed87 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
@import '_variables';
@import '_mixins';
$form-base-input-width: auto;
ng-select {
width: $form-base-input-width;
@media screen and (max-width: $form-base-input-width) {
width: 100%;
}
}
ng-select ::ng-deep {
.ng-value-container {
max-height: 100px;
overflow-y: auto;
overflow-x: hidden;
}
// make sure the image is vertically adjusted
.ng-value-label img {
position: relative;
top: -1px;
}
img {
border-radius: 50%;
height: 20px;
width: 20px;
}
}
.root {
display: flex;
align-items: center;
> my-select-options {
flex-grow: 1;
}
}
my-select-options + input {
@include peertube-input-text($form-base-input-width);
margin-left: 5px;
display: block;
}
.input-suffix {
margin-left: 5px;
}
|