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

Is it possible to create an option for placing the preview on the right? #108

Open
andresteyn opened this issue May 25, 2017 · 4 comments
Open

Comments

@andresteyn
Copy link

andresteyn commented May 25, 2017

Hi all
Firstly l would like to thank all the devs who have worked on this control. It really is awesome.

Secondly, I was wondering if it is / would be possible to have a setting where the preview is on the right.

I have attached to images to explain this.

CURRENTLY
capture

REQUESTED
requested

@andresteyn andresteyn changed the title Is it possible to create an option for placing the preview on the right. Is it possible to create an option for placing the preview on the right? May 25, 2017
@AsimoLoveGym
Copy link

You can add some css code to rearrange the view. An easy way to solve this would be:
.md-color-picker-preview { order: 2; }

Actually, order with any number >=1 would work here. .md-color-picker-preview is the classname for the icon container.

screen shot 2017-07-21 at 11 08 29 pm

@brianpkelley
Copy link
Owner

This has been addressed in the refactor. You will be able specify your own templates in the same way angular material does. This will change when I push up the latest work, but for now you can see it here

@andresteyn
Copy link
Author

Thanks - will give it a try.

Do I close issue? (I am a bit of a GitHub noob)

@brianpkelley
Copy link
Owner

I'll close once I commit and do a release. Thanks though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants