From 235fd1282446c47247b989d71242da6fdff42b73 Mon Sep 17 00:00:00 2001 From: mihai sirghe <32762007+smihai78@users.noreply.github.com> Date: Wed, 18 Oct 2017 14:57:52 +0300 Subject: [PATCH] [ADF-1702] Login Component - Fix username input text (#2468) * bug fix for ADF-1702 updated login component scss (added adf-full-height class) update login component template (applied the mentioned class to the html markup) * Login component - issue ADF-1702 issue update applying the adf-full-height class to the password input field which has the same issue as the username field * added general style rules that will override material design form input line height. this is application specific change, will not impact the adf component framework reverted the changes made in my previous attempt to fix this issue (login.component.scss and login.component.html) --- demo-shell-ng2/app/general.scss | 3 +++ demo-shell-ng2/app/theme.scss | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 demo-shell-ng2/app/general.scss diff --git a/demo-shell-ng2/app/general.scss b/demo-shell-ng2/app/general.scss new file mode 100644 index 0000000000..481285505a --- /dev/null +++ b/demo-shell-ng2/app/general.scss @@ -0,0 +1,3 @@ +.mat-form-field input.mat-input-element { + line-height: normal; +} \ No newline at end of file diff --git a/demo-shell-ng2/app/theme.scss b/demo-shell-ng2/app/theme.scss index d0d7ec0d82..733b0c5d41 100644 --- a/demo-shell-ng2/app/theme.scss +++ b/demo-shell-ng2/app/theme.scss @@ -12,7 +12,7 @@ @import '~ng2-alfresco-upload/styles/index'; @import '~ng2-alfresco-userinfo/styles/index'; @import '~ng2-alfresco-search/styles/index'; - +@import './general'; @include mat-core();