Merge pull request from jryans/limit-field-label

Limit Field label to size of input
This commit is contained in:
J. Ryan Stinnett 2019-03-05 11:16:05 +00:00 committed by GitHub
commit a3d6d43f69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,6 +89,10 @@ limitations under the License.
margin: 7px 8px;
padding: 2px;
pointer-events: none; // Allow clicks to fall through to the input
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
max-width: calc(100% - 20px); // 100% of parent minus margin and padding
}
.mx_Field input:focus + label,