decreased .well padding
replaced if statement with ternary operator