Having problems resizing an FA icon

Trying to center and change the size of some FA icons, but when I do the following in CSS it centers, but increasing the size just moves the image down lower within the button itself.

CSS:

.webix_view .webix_img_btn {
    text-align: center;
    font-size: 2.0em;
}

JS:

                      { 
                            view: "button", 
                            type: "icon",
                            icon: "volume-down",
                    width: 145, 
                align: "center",
                        },                    
                        { 
                            view: "button", 
                            type: "icon",
                            icon: "volume-up",
                    width: 145, 
                            align: "center" 
                        }

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!