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

No available option found to set the icon width and height #17

Closed
MoEffat opened this issue Mar 9, 2020 · 5 comments
Closed

No available option found to set the icon width and height #17

MoEffat opened this issue Mar 9, 2020 · 5 comments

Comments

@MoEffat
Copy link

MoEffat commented Mar 9, 2020

Hello,

It would be really nice if we can add a new option like [ipWidth] to set the icons size inside the dialog box. The actual icons size is too small and a manual zoom in is needed for some users to identify an icon.

Thanks in advance,

@greg7859
Copy link
Contributor

Hello,

This proposal is an excellent idea. I will propose an improvement in a few minutes.

greg7859 pushed a commit that referenced this issue Mar 14, 2020
Add a new parameter ipIconSize. The default size is 16px.
Issue: #17
@greg7859
Copy link
Contributor

Could you test this PR?
If you valid it, I will deploy this new version.

@BallisticPain
Copy link

I'm excited to see the icon size can be configured!! I simply added this in my CSS (along with an override attribute on the body tag to give me the specificity).

[override] .icon-picker div.icon-grid div button {
  width: 42px !important;
  padding: 2px !important;

  span {
    font-size: 2em;
  }
}

@greg7859
Copy link
Contributor

I added a new property ipIconSize to override the default values.
I don't test to override it with CSS.

Today, I will deploy this new version on npm .

@greg7859
Copy link
Contributor

This version is deployed on npm. Open an issue if you have a problem.

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

No branches or pull requests

3 participants