.ignored-list { overflow: auto; max-height: 150px; display: flex; flex-wrap: wrap; align-items: center; background-color: var(--secondary); min-height: 30px; box-sizing: border-box; } .ignored-user-list-item { border: 1px solid var(--primary-medium); border-radius: 5px; padding: 0; display: flex; align-items: center; margin-right: 10px; } .remove-ignored-user { display: flex; flex: 1 0 0px; align-items: center; justify-content: center; box-sizing: border-box; border-radius: 0 0.25em 0.25em 0; padding-top: 0; padding-bottom: 0; height: 100%; } .ignored-user-name { padding-left: 10px; padding-right: 10px; }