changed inherit to inline block