Adjust Contact view (center card in right container)

pull/91/head
iRouge 2015-03-07 22:37:21 -05:00 committed by Francis Lachapelle
parent 90c359779e
commit 90cd79a21b
5 changed files with 7 additions and 6 deletions

View File

@ -272,7 +272,7 @@
</md-item>
</md-list>
</md-content>
<md-content class="md-padding md-flex" ui-view="card"><!-- card view --></md-content>
<md-content class="md-padding md-flex" ui-view="card" layout="row" layout-align="center start"><!-- card view --></md-content>
</div>
</section>

View File

@ -122,4 +122,3 @@
});
})();

View File

@ -18,6 +18,5 @@ md-card {
md-card-content {
order: 1;
margin: $card-margin;
}
}

View File

@ -28,12 +28,11 @@ hgroup {
}
.sg-icon-bar {
font-size: $sg-font-size-3;
color: $colorGray;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
margin: 0 0 $mg $mg;
margin: 0 0 0 $mg;
}
.sg-icon-bar *.button {
display: block;

View File

@ -9,9 +9,13 @@
}
// md is overqualifying, we have to do the same to override
md-content[ui-view="card"] {
flex: 0 0 $detailView-width;
background-color: sg-color($sogoPaper, 200);
}
// md is overqualifying, we have to do the same to override
md-card.viewer {
width: $detailView-width;
}
// Contact editor
// ----------------------------------------------------------------------------