#web-ui{ width: calc(100% - 1.5em); padding: 0.75em; #content-middle{ display: flex; flex-direction: row; } }