Scrumboard and Contacts app dialogs responsive fixes

This commit is contained in:
Sercan Yemen 2017-12-06 11:35:58 +03:00
parent 21fd488a8e
commit effd3cefcb
3 changed files with 26 additions and 9 deletions

View File

@ -2,15 +2,18 @@
.contact-form-dialog {
@include media-breakpoint('xs') {
width: 100%;
}
@include media-breakpoint-up('xs') {
width: 400px;
}
.mat-dialog-container {
padding: 0;
width: 400px;
overflow: hidden;
@include media-breakpoint('xs') {
width: auto;
}
.mat-toolbar {
min-height: initial;
}

View File

@ -131,8 +131,8 @@
<div *ngIf="card" mat-dialog-content class="p-24 m-0" fusePerfectScrollbar>
<div fxLayout.gt-xs="row" fxLayoutAlign.gt-xs="space-between center"
fxLayout.xs="column" fxLayoutAlign="center center">
<div fxLayout.gt-sm="row" fxLayoutAlign.gt-sm="space-between center"
fxLayout="column" fxLayoutAlign="center center">
<!-- BREADCRUMB -->
<div class="card-breadcrumb mb-16 mb-sm-0" fxLayout="row" fxLayoutAlign="start center">

View File

@ -2,9 +2,16 @@
.scrumboard-card-dialog {
@include media-breakpoint('xs') {
width: 100%;
}
@include media-breakpoint-up('xs') {
width: 720px;
}
.mat-dialog-container {
padding: 0;
width: 720px;
.mat-toolbar {
@ -162,9 +169,16 @@
background-size: contain;
background-position: 50% 50%;
background-repeat: no-repeat;
margin-right: 24px;
font-weight: 500;
color: rgba(0, 0, 0, 0.6);
@include media-breakpoint('xs') {
margin-bottom: 24px;
}
@include media-breakpoint-up('xs') {
margin-right: 24px;
}
}
.attachment-content {