@media screen and (min-width: 1000px) { div { display: flex; flex-direction: row; align-items: center; column-gap: 10px; } } @media screen and (max-width: 1000px) { #instance-status { display: none; } #instance-type { display: none; } #node-name { display: none; } #node-status-div { display: none; } } .btn-group { margin-left: 0px; justify-content: flex-end; }