fix padding for small devices