Commit 51a80f4c authored by KR Moorhouse's avatar KR Moorhouse

Merge branch 'develop' into 'develop'

Fix unusable mobile width controls

Closes #2296

See merge request ninja-forms/ninja-forms!3714
parents 6a6ca995 06cdc41a
......@@ -67,4 +67,11 @@
.alignleft.actions input[type=text] {
height: 28px;
border-radius: 4px;
}
\ No newline at end of file
}
/*https://github.com/wpninjas/ninja-forms/issues/2296*/
@media screen and ( max-width: 782px ) {
.tablenav.top .actions, .tablenav .view-switch {
display:block;
}
}
<script id="tmpl-nf-field-number" type="text/template">
<input id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" aria-invalid="false" aria-describedby="nf-error-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element"
<input id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" aria-invalid="false" aria-describedby="nf-error-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element"
aria-labelledby="nf-label-field-{{{ data.id }}}"
{{{ data.maybeRequired() }}}
type="number" value="{{{ data.value }}}" min="{{{ data.num_min }}}" max="{{{ data.num_max }}}" step="{{{ data.num_step }}}" {{{ data.renderPlaceholder() }}}>
type="number" value="<# if(data.default && data.default <=data.num_max && data.default >= data.num_min) {print(data.default)} #>" min="{{{ data.num_min }}}" max="{{{ data.num_max }}}" step="{{{ data.num_step }}}" {{{ data.renderPlaceholder() }}}>
</script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment