fix(dashboard): fix a security cameras card height

This commit is contained in:
Alexander Zhukov 2017-07-12 19:41:28 +03:00
parent 92c59b2834
commit 03bf3c6590
2 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
<nga-card> <nga-card size="xlarge">
<nga-card-header> <nga-card-header>
<div class="cameras-card-header"> <div class="cameras-card-header">
<span class="cameras-card-title">Security Cameras</span> <span class="cameras-card-title">Security Cameras</span>

View file

@ -51,7 +51,7 @@
background-position: center; background-position: center;
background-size: cover; background-size: cover;
// TODO: Use calculated height // TODO: Use calculated height
height: 210px; height: 278px;
width: 50%; width: 50%;
span { span {
@ -71,7 +71,7 @@
content: ''; content: '';
position: absolute; position: absolute;
width: 100%; width: 100%;
height: 210px; height: 278px;
opacity: 0.2; opacity: 0.2;
transition: 0.1s; transition: 0.1s;
} }
@ -84,12 +84,12 @@
.cameras.single-view { .cameras.single-view {
.camera { .camera {
// TODO: Use calculated height // TODO: Use calculated height
height: 420px; height: 556px;
width: 100%; width: 100%;
&::before { &::before {
// TODO: Use calculated height // TODO: Use calculated height
height: 420px; height: 556px;
} }
} }
} }