adjust registration form width on mobile (#3274)
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
This commit is contained in:
parent
d07b2944db
commit
832a12b0e8
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input
|
<input
|
||||||
type="text" id="username" i18n-placeholder placeholder="Example: jane_doe"
|
type="text" id="username" i18n-placeholder="Username choice placeholder in the registration form" placeholder="e.g. jane_doe"
|
||||||
formControlName="username" class="form-control" [ngClass]="{ 'input-error': formErrors['username'] }"
|
formControlName="username" class="form-control" [ngClass]="{ 'input-error': formErrors['username'] }"
|
||||||
>
|
>
|
||||||
<div class="input-group-append">
|
<div class="input-group-append">
|
||||||
|
|
|
@ -20,6 +20,10 @@
|
||||||
|
|
||||||
&.register-form {
|
&.register-form {
|
||||||
width: 450px;
|
width: 450px;
|
||||||
|
|
||||||
|
@media screen and (max-width: $mobile-view) {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.instance-information {
|
&.instance-information {
|
||||||
|
@ -35,6 +39,9 @@
|
||||||
@media screen and (max-width: 1500px) {
|
@media screen and (max-width: 1500px) {
|
||||||
width: 450px;
|
width: 450px;
|
||||||
}
|
}
|
||||||
|
@media screen and (max-width: $mobile-view) {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
ngb-accordion ::ng-deep {
|
ngb-accordion ::ng-deep {
|
||||||
.btn {
|
.btn {
|
||||||
|
@ -43,10 +50,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: $mobile-view) {
|
|
||||||
width: auto;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -64,7 +67,6 @@
|
||||||
|
|
||||||
input:not([type=submit]) {
|
input:not([type=submit]) {
|
||||||
@include peertube-input-text(400px);
|
@include peertube-input-text(400px);
|
||||||
|
|
||||||
display: block;
|
display: block;
|
||||||
|
|
||||||
&#username,
|
&#username,
|
||||||
|
@ -74,10 +76,19 @@ input:not([type=submit]) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: $mobile-view) {
|
||||||
|
.form-group-terms,
|
||||||
|
.input-group,
|
||||||
|
input:not([type=submit]) {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
input[type=submit],
|
input[type=submit],
|
||||||
button {
|
button {
|
||||||
@include peertube-button;
|
@include peertube-button;
|
||||||
@include orange-button;
|
@include orange-button;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.name-information {
|
.name-information {
|
||||||
|
|
|
@ -121,6 +121,7 @@
|
||||||
min-height: $button-height;
|
min-height: $button-height;
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
|
||||||
.input-group-text{
|
.input-group-text{
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|
Loading…
Reference in New Issue