.btn-main-float { position: absolute; bottom: 20px; right: 20px; z-index: 100; display: flex; flex-direction: column-reverse; align-items: center; > div { display: flex; flex-direction: column-reverse; align-items: center; margin-bottom: 5px; } button { .mat-button-wrapper { line-height: normal; } } } .fab-toggler { float: right; z-index: 100; } #fab-dismiss { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 99; }