Set the width to auto instead of 100%, so the padding doesn't overflow.