Merge pull request #2742 from jryans/limit-field-label
Limit Field label to size of inputpull/21833/head
commit
a3d6d43f69
|
@ -89,6 +89,10 @@ limitations under the License.
|
||||||
margin: 7px 8px;
|
margin: 7px 8px;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
pointer-events: none; // Allow clicks to fall through to the input
|
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,
|
.mx_Field input:focus + label,
|
||||||
|
|
Loading…
Reference in New Issue