#ruleContainer { overflow: auto; margin: 1px; height: 100%; max-width: 256px; padding: 1.1em 0.5em 0.5em 0.5em; } #drawerContent { padding: 0.5em 0; width: 100%; height: 100%; align-items: center; }