Calculate padding-top once