markobean commented on code in PR #11481:
URL: https://github.com/apache/nifi/pull/11481#discussion_r3666560062
##########
nifi-frontend/src/main/frontend/apps/nifi/src/app/pages/flow-designer/ui/canvas/canvas.component.scss:
##########
@@ -271,6 +271,12 @@
font-size: 12px;
}
+ /* Rotate about the glyph itself, not the svg view box */
+ text.load-balance-icon-active.fa-rotate-90 {
+ transform-box: fill-box;
+ transform-origin: center;
+ }
Review Comment:
> I agree with @exceptionfactory, I just tried it out and was able to make
his suggestion work.
>
> Basically this becomes
>
> and in `connection-manager.service.ts` this line:
>
> ```
> .classed('load-balance-icon-active fa-rotate-90 success-color-variant',
(d: any) => {
> ```
>
> can just drop the `fa-rotate-90`
Ah, ok, so you added the actual rotation (`transform: rotate(90deg)`) to the
style. Got it. Will give this a go.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]