Add comment, fix bad math

This adds a comment to explain the `max-width` and also fixes it actually use
the right value. (I had grabbed the wrong part of `margin` the first time.)
pull/21833/head
J. Ryan Stinnett 2019-03-05 11:13:37 +00:00
parent c1688d2be3
commit 1336508a4e
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ limitations under the License.
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
max-width: calc(100% - 18px);
max-width: calc(100% - 20px); // 100% of parent minus margin and padding
}
.mx_Field input:focus + label,