In using the template, pButtons are showing with their label on the bottom of the button, instead of in the middle as seen in primeng base button and in the ultima demo.
Not sure why this is occurring.Using the layout-blue.css
html of login component:
<div class="login-body">
<div class="card login-panel ui-fluid">
<div class="ui-g">
<div class="ui-g-12">
<img src="assets/layout/images/logo-ultima.svg">
</div>
<div class="ui-g-12">
<span class="md-inputfield">
<input type="text" [(ngModel)]="username" pInputText>
<label>Username</label>
</span>
</div>
<div class="ui-g-12">
<span class="md-inputfield">
<input type="text" [(ngModel)]="password" pInputText>
<label>Password</label>
</span>
</div>
<div class="ui-g-12">
<button pButton type="button" label="Sign In" icon="ui-icon-person" (click)="login()"></button>
<button pButton type="button" label="Forgot Password" class="pink-btn"icon="ui-icon-help"></button>
</div>
</div>
</div>
</div>
This is taken from the login page demo
pButton Label Not Vertically Centered
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Please use Ultima-PrimeNg forum.
Best Regards,
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 17 guests