Link to home
Start Free TrialLog in
Avatar of Software Squirrel
Software SquirrelFlag for United States of America

asked on

Angular styles not flexible? How to correct?

I am using Angular directives. I have a section where I don't want to have the two (will be 3) fields to align vertically.  Usually, I would control this with the HTML or CSS, but it does not seem to be playing nice.  I guess it's the way Angular is designed. I tried editing properties in the Developer Tools in the browser, nothing worked.

I have this:
User generated image
But I want this:
Hello, Guest LOGIN

Here is my code:
<!-- User NOT logged in -->
<ng-template #guest class="box">
   <h3>Hello, GUEST</h3>
   <button class="button" routerLink="/login">Login</button>
  </ng-template>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Software Squirrel

ASKER

I had a brain cloud. This was the issue "And place that in the component .css / .sass file". I was trying to use an external CSS.