div { flex-wrap: wrap; display: flex; align-items: center; font-family: 'Open Sans', 'Roboto', 'Helvetica neue', Helvetica, sans-serif; position: absolute; z-index: 9999; background: #f6f6f6; min-width: 230px; } button { width: 205px !important; height: 38px; color: #fff; background: #1f74bd; cursor: pointer; margin-bottom: 4px; margin-right: 4px; padding: 4px 12px; justify-content: start; align-self: center; font-size: 16px; border-radius: 2px; border: 0; display: inline-flex; position: relative; font-family: inherit; } svg { display: inline-block; margin-right: 5px; width: 20px; height: 20px; margin-top: auto; margin-bottom: auto; } span { margin-top: auto; margin-bottom: auto; }