Layout adjustments for rails.