.container { height: 60px; width: 800px; flex-grow: 0; flex-direction: row-reverse; flex-shrink: 1; flex-basis: auto; align-items: center; justify-content: flex-end; flex-wrap: nowrap; background-color: rgba(0, 0, 0, 0.35); } .button { width: 50px; height: 50px; visibility: visible; display: flex; } .slotIcon { padding: 15px; flex-shrink: 0; flex-grow: 1; }