[ADF-1384] fix error and amount widget style problem (#2222)

This commit is contained in:
Eugenio Romano 2017-08-15 18:17:48 +01:00 committed by Mario Romano
parent 0443c2aed9
commit f797e7df6a
4 changed files with 18 additions and 2 deletions

View File

@ -5,11 +5,23 @@
&-amount-widget {
width: 100%;
vertical-align: baseline !important;
padding-left: 14px;
.mat-input-element {
margin-left: 11px;
}
}
&-amount-widget__container {
max-width: 100%;
.mat-input-placeholder-wrapper {
top: -6px !important;
}
.mat-input-placeholder-wrapper {
top: 0 !important;
left: 13px;
}
}
&-amount-widget__input .mat-focused {

View File

@ -38,7 +38,7 @@ container-widget{
}
.mat-input-placeholder-wrapper{
top:0px !important;
top:0 !important;
}
.mat-input-placeholder{

View File

@ -0,0 +1,3 @@
.adf-error-text-container {
margin-top: 0 !important;
}

View File

@ -25,6 +25,7 @@ import { baseHost , WidgetComponent } from './../widget.component';
@Component({
selector: 'error-widget',
templateUrl: './error.component.html',
styleUrls: ['./error.component.scss'],
animations: [
trigger('transitionMessages', [
state('enter', style({opacity: 1, transform: 'translateY(0%)'})),