when using position: fixed, the properties, top, right, left or bottom are required so in your case you should add top and right property to the class drawer to define where the drawer should be placed on screen. Also add z-index so that it stays on top of other components. screenshot with added properties