Improve typedInput label width calculation

If the label contains an img, the width calculation needs
to wait for the img to be loaded. This fix is a bit hacky
as it doesn't actually tie into the onload event, but should
be good enough
This commit is contained in:
Nick O'Leary
2019-07-01 11:14:21 +01:00
parent a974e84ad1
commit 8b3b541a56
2 changed files with 52 additions and 47 deletions

View File

@@ -90,6 +90,9 @@
display: inline-block;
height: 100%;
padding: 0 1px 0 5px;
img {
max-width: none;
}
}
&:not(.disabled):hover {