mirror of https://github.com/Chocobozzz/PeerTube
Fix overflow in select inputs
parent
2cfe649635
commit
108af66140
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
<div class="button-file">
|
<div class="button-file">
|
||||||
<span>Select the file to upload</span>
|
<span>Select the file to upload</span>
|
||||||
<input #videofileInput type="file" name="videofile" id="videofile" (change)="fileChange()" />
|
<input #videofileInput type="file" name="videofile" id="videofile" [accept]="videoExtensions" (change)="fileChange()" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group form-group-channel">
|
<div class="form-group form-group-channel">
|
||||||
|
|
|
@ -52,6 +52,10 @@ export class VideoAddComponent extends FormReactive implements OnInit {
|
||||||
super()
|
super()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get videoExtensions () {
|
||||||
|
return this.serverService.getConfig().video.file.extensions.join(',')
|
||||||
|
}
|
||||||
|
|
||||||
buildForm () {
|
buildForm () {
|
||||||
this.form = this.formBuilder.group({})
|
this.form = this.formBuilder.group({})
|
||||||
this.form.valueChanges.subscribe(data => this.onValueChanged(data))
|
this.form.valueChanges.subscribe(data => this.onValueChanged(data))
|
||||||
|
|
|
@ -146,7 +146,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
select {
|
select {
|
||||||
padding: 0 12px;
|
padding: 0 35px 0 12px;
|
||||||
width: calc(100% + 2px);
|
width: calc(100% + 2px);
|
||||||
position: relative;
|
position: relative;
|
||||||
left: 1px;
|
left: 1px;
|
||||||
|
@ -156,6 +156,7 @@
|
||||||
appearance: none;
|
appearance: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
height: $button-height;
|
height: $button-height;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
|
|
|
@ -16,7 +16,7 @@ import { VideoShareModel } from '../../models/video/video-share'
|
||||||
|
|
||||||
const activityPubClientRouter = express.Router()
|
const activityPubClientRouter = express.Router()
|
||||||
|
|
||||||
activityPubClientRouter.get('/accounts/:name',
|
activityPubClientRouter.get('/accounts?/:name',
|
||||||
executeIfActivityPub(asyncMiddleware(localAccountValidator)),
|
executeIfActivityPub(asyncMiddleware(localAccountValidator)),
|
||||||
executeIfActivityPub(accountController)
|
executeIfActivityPub(accountController)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue