Skip to content
Snippets Groups Projects
Commit a1497dea authored by Kyle Doherty's avatar Kyle Doherty
Browse files

set explicit breakpoints on the dashboard width (wip)

parent e778d5eb
Branches
Tags
No related merge requests found
.Dash-wrapper {
width: 100%;
}
@media screen and (--breakpoint-min-sm) {
.Dash-wrapper { max-width: var(--sm-width); }
}
@media screen and (--breakpoint-min-md) {
.Dash-wrapper { max-width: var(--md-width); }
}
@media screen and (--breakpoint-min-lg) {
.Dash-wrapper { max-width: var(--lg-width); }
}
@media screen and (--breakpoint-min-xl) {
.Dash-wrapper { max-width: var(--xl-width); }
}
.Dash-card {
position: relative;
background: #fff;
......
<div class="Dashboard full-height">
<div class="wrapper full-height" ng-if="dashboardLoaded && dashboardLoadError">
<div class="Dash-wrapper wrapper full-height" ng-if="dashboardLoaded && dashboardLoadError">
<div class="full-height text-centered flex layout-centered">
<h2 class="text-error text-grey-1">{{dashboardLoadError}}</h2>
</div>
......@@ -17,7 +16,7 @@
<div ng-if="dashboardLoaded && !dashboardLoadError">
<header class="py2 mt2 border-bottom">
<div class="wrapper flex align-center">
<div class="Dash-wrapper wrapper flex align-center">
<div class="Entity">
<div class="flex align-center">
<h4 class="Entity-title">{{dashboard.name}}</h4>
......@@ -37,7 +36,7 @@
</div>
</header>
<div class="wrapper full-height">
<div class="Dash-wrapper wrapper full-height">
<div ng-if="!dashboardLoaded">
<div class="flex layout-centered text-centered full-height">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment