Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -TitleAlignment Param to New-UDCard #518

Closed
timd19 opened this issue Dec 20, 2018 · 4 comments · Fixed by #1245
Closed

Add -TitleAlignment Param to New-UDCard #518

timd19 opened this issue Dec 20, 2018 · 4 comments · Fixed by #1245
Labels
bounty enhancement New feature or request help wanted Looking for contributors to resolve this issue
Milestone

Comments

@timd19
Copy link

timd19 commented Dec 20, 2018

Add ability to align the Title of a Card

Added this to my local module and works great

[ValidateSet('left', 'center', 'right')]
[String]$TitleAlignment = 'left',

Then within the span element added $TitleAlignment to className

image

@AlonGvili
Copy link
Contributor

Look great

@adamdriscoll adamdriscoll added the enhancement New feature or request label Dec 21, 2018
@adamdriscoll adamdriscoll added help wanted Looking for contributors to resolve this issue bounty labels Aug 7, 2019
@adamdriscoll
Copy link
Member

@psDevUK
Copy link
Contributor

psDevUK commented Aug 12, 2019

How about keep it simple, and set the theme for the card like so:-
'.left-align' = @{
'text-align' = "center"
}
Keeps the look and feel the same across all pages then....

@adamdriscoll
Copy link
Member

Hmm. That's a good point but I think it'd be nice to have it configurable per card as well. We could also create a theme that was a "centered card" theme or somethin.

BoSen29 added a commit to BoSen29/universal-dashboard that referenced this issue Oct 11, 2019
adamdriscoll pushed a commit that referenced this issue Oct 11, 2019
@adamdriscoll adamdriscoll added this to the 2.7.0 milestone Oct 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty enhancement New feature or request help wanted Looking for contributors to resolve this issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants