[deploy] Fix onboarding profile slide for short screens (#7269)
This commit is contained in:
parent
290adcf936
commit
e1dd1fe9e4
3 changed files with 10 additions and 0 deletions
|
|
@ -36,6 +36,8 @@
|
|||
flex: 1 0 auto;
|
||||
padding: $su-4;
|
||||
width: 100%;
|
||||
max-height: calc(100vh - 70px);
|
||||
overflow: auto;
|
||||
|
||||
@media screen and (min-width: $breakpoint-s) {
|
||||
justify-content: center;
|
||||
|
|
@ -592,4 +594,10 @@ $onboarding-user-selected-hover: rgba(71, 85, 235, 0.2);
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-height: 790px) {
|
||||
.onboarding-form-input--last {
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -507,6 +507,7 @@ preact-render-spy (1 nodes)
|
|||
placeholder="e.g. Company name, self-employed, etc."
|
||||
onChange={[Function bound handleChange]}
|
||||
maxLength="60"
|
||||
class="onboarding-form-input--last"
|
||||
/>
|
||||
</label>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -115,6 +115,7 @@ class ProfileForm extends Component {
|
|||
placeholder="e.g. Company name, self-employed, etc."
|
||||
onChange={this.handleChange}
|
||||
maxLength="60"
|
||||
className="onboarding-form-input--last"
|
||||
/>
|
||||
</label>
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue