scottyaslan 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_r279563858
##########
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 think you will want to add an @mixin so you can:
```
input.mat-input-element:focus,
textarea.mat-input-element:focus {
border-color: $accentColor;
}
```
----------------------------------------------------------------
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