rfellows commented on a change in pull request #15: [NIFI-6237] - styling for 
td-chips text input component (no text over…
URL: https://github.com/apache/nifi-fds/pull/15#discussion_r279726742
 
 

 ##########
 File path: src/platform/core/common/styles/_inputs.scss
 ##########
 @@ -107,3 +107,12 @@ body[fds] td-chips .mat-input-placeholder-wrapper::after {
 body[fds] .mat-hint {
   color: $grey3;
 }
+
+body[fds] td-chips {
+  input.mat-input-element,
+  textarea.mat-input-element {
+    /* subtract 42 (10 for padding-left, 30 for padding right, 2 the 1px 
border of the input on the left & right) */
+    width: calc(100% - 42px);   // account for padding and border as to line 
up with the underline
+    padding-right: 30px;        // Don't allow the text to overlap the filter 
icon
+  }
+}
 
 Review comment:
   I actually did that in another PR 
(https://github.com/apache/nifi-fds/pull/16).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to