fix #644 Incorrect css rule

Updating border and padding rules.