Take token-input padding into account when calculating width. Close #72