mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
[ADF-1384] fix error and amount widget style problem (#2222)
This commit is contained in:
parent
0443c2aed9
commit
f797e7df6a
@ -5,11 +5,23 @@
|
|||||||
&-amount-widget {
|
&-amount-widget {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
vertical-align: baseline !important;
|
vertical-align: baseline !important;
|
||||||
padding-left: 14px;
|
|
||||||
|
.mat-input-element {
|
||||||
|
margin-left: 11px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-amount-widget__container {
|
&-amount-widget__container {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
|
||||||
|
.mat-input-placeholder-wrapper {
|
||||||
|
top: -6px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mat-input-placeholder-wrapper {
|
||||||
|
top: 0 !important;
|
||||||
|
left: 13px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-amount-widget__input .mat-focused {
|
&-amount-widget__input .mat-focused {
|
||||||
|
@ -38,7 +38,7 @@ container-widget{
|
|||||||
}
|
}
|
||||||
|
|
||||||
.mat-input-placeholder-wrapper{
|
.mat-input-placeholder-wrapper{
|
||||||
top:0px !important;
|
top:0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mat-input-placeholder{
|
.mat-input-placeholder{
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
.adf-error-text-container {
|
||||||
|
margin-top: 0 !important;
|
||||||
|
}
|
@ -25,6 +25,7 @@ import { baseHost , WidgetComponent } from './../widget.component';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'error-widget',
|
selector: 'error-widget',
|
||||||
templateUrl: './error.component.html',
|
templateUrl: './error.component.html',
|
||||||
|
styleUrls: ['./error.component.scss'],
|
||||||
animations: [
|
animations: [
|
||||||
trigger('transitionMessages', [
|
trigger('transitionMessages', [
|
||||||
state('enter', style({opacity: 1, transform: 'translateY(0%)'})),
|
state('enter', style({opacity: 1, transform: 'translateY(0%)'})),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user