Merge pull request #2714 from jryans/field-click-label

Send Field label pointer events to input
This commit is contained in:
J. Ryan Stinnett 2019-02-27 17:07:08 +00:00 committed by GitHub
commit bd577e8f9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,6 +88,7 @@ limitations under the License.
top: 0px;
margin: 7px 8px;
padding: 2px;
pointer-events: none; // Allow clicks to fall through to the input
}
.mx_Field input:focus + label,
@ -104,6 +105,7 @@ limitations under the License.
top: -13px;
padding: 0 2px;
background-color: $field-focused-label-bg-color;
pointer-events: initial;
}
.mx_Field input:focus + label,