.side-properties { flex: 0 0 150px; margin: 5px 5px 5px 0; padding-right: 5px; border-right: 2px groove #eeede0; .side-property { margin: 2px 0; display: flex; flex-direction: row; label { flex: 2; line-height: 26px; font-weight: bold; } input, select { text-align: right; flex: 1; width: calc(100% - 2px); } } }