Elastic: Cleanup some styles + fixed small regression

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