.driver-info { width: 100%; } .single-transaction { width: 700px; font-size: 0; margin: 20px 0; } .user-image { width: 20%; height: 150px; display: inline-block; vertical-align: top; border: 2px solid #000; box-sizing: border-box; } .transaction-info { width: 65%; display: inline-block; font-size: initial; vertical-align: top; padding: 0 15px; box-sizing: border-box; } .transaction-date { font-size: 1.4rem; font-family: Serif; color: #999; } .user-name { font-size: 2rem; font-weight: bold; } .transaction-city, .transaction-rating, .transaction-comment, .transaction-given-rating { font-size: 1.2rem; margin: 5px 0; } .hide-button { width: 15%; text-align: right; display: inline-block; font-size: initial; } .hide-button > div { display: inline-block; cursor: pointer; padding: 8px; font-size: 1.5rem; background: red; border: 1px solid #000; border-radius: 10px; } .small-rating-image { display: inline-block; width: 20px; }