Merge pull request #2742 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

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,