Elastic: Cleanup some styles + fixed small regression

Authored by machniak on Nov 21 2018, 4:30 PM.