How I can adjust the editor height in percentage as its taking in pixel only

I want to make the editor completely responseive as height change but its taking height only in pixel