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

Icon size inside list #29

Open
dsapoetra opened this issue Feb 20, 2017 · 1 comment
Open

Icon size inside list #29

dsapoetra opened this issue Feb 20, 2017 · 1 comment

Comments

@dsapoetra
Copy link

dsapoetra commented Feb 20, 2017

Hi everyone

I'm currently trying to resize icon button inside a list-item

My code is:

[cljs-react-material-ui.reagent/list
      [cljs-react-material-ui.reagent/list-item
       {:primary-text "username"
        :inner-div-style
                      {:font "72px Gotham, sans-serif"
                       :button-style {:width "1000px"
                                      :height "auto"}}
        :right-icon (cljs-react-material-ui.core/icon-button
                      {:style {:width "1000px" :height "auto"}}
                      (cljs-react-material-ui.icons/editor-mode-edit {:width "1000px" :height "auto" :style {:width "1000px" :height "auto"}}))}]]

Problem is I can't make the right-icon bigger, been trying many possible position and the icon still sized 24 px. How to resize it?

Thank you in advance

@royalaid
Copy link

royalaid commented Jul 29, 2017

I was trying to figure this out as well, this is what I came up with, only this is in the context of an icon-button:

[rui/icon-button {:style {:height 120 :width 120 :padding 30 :size 30}
                  :icon-style {:height 75 :width 75}}
                  (ic/navigation-arrow-back)]

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

2 participants