Skip to content

Instantly share code, notes, and snippets.

@natmegs
Created August 21, 2017 19:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save natmegs/cfacc918c2643015abb67fc61743ed8d to your computer and use it in GitHub Desktop.
Save natmegs/cfacc918c2643015abb67fc61743ed8d to your computer and use it in GitHub Desktop.
Flex align columns in rows
/* THESE ARE USED TO ALIGN DASHBOARD COLUMNS */
.tenant-info {
margin-bottom: 10px !important;
flex: 1;
}
.tenant-info-inner {
height: 100%;
}
.tenant-info-inner theme-panel {
height: 100%;
}
@media screen and (min-width: 992px) {
.dashboard-classic-view-right-col,
.dashboard-classic-view-left-col {
display: -webkit-box !important;
display: -webkit-flex !important;
display: -ms-flexbox !important;
display: flex !important;
flex-direction: column;
}
.row-eq-height {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment