content { display: flex; flex: flex-shrink; flex-grow: 1; justify-content: center; } tile { padding: 0.5rem; display: flex; flex-direction: row; border: 1px solid #eee; max-width: 50vh; /* only for this display, I'd remove this. */ } tile middle { padding-left: 0.5rem; padding-right: 0.5rem; display: flex; flex-direction: column; justify-content: flex-start; flex-shrink: 3; } tile middle h4 { margin-top: 0; margin-bottom: 0; } tile right { flex-shrink: 0; } tile right button { padding: 0.2rem; }