MarkEdmondson1234 / gentelellaShiny

http://code.markedmondson.me/gentelellaShiny/
Other
94 stars 29 forks source link

Icon within gentelellasidebar is not displaying #5

Closed anujbajracharya closed 5 years ago

anujbajracharya commented 5 years ago

First of all, thanks for the awesome bootstrap theme. I am experiencing a problem of icon not displaying in the gentelellasidebar.

  1. sidebarItem("Boxes", tabName = "boxes", icon = icon("bar-chart"))
  2. sidebarItem("Tabs", tabName = "tabs", icon = "bar-chart"),

The first one gives a BLANK before "Boxes". Second one gives a SQUARE-like icon before "Boxes".

But, I am able to set_title like below where the 'icon' part is working well. site_title = shiny::HTML(paste(shiny::icon("bar-chart"), "Dashboard")),

Am I missing anything here?

DivadNojnarg commented 5 years ago

Hi,

This is due to the new shiny 1.2 update. Please download gentelellaShiny from here https://github.com/RinteRface/gentelellaShiny

I will do a pull request in this repo ASAP

anujbajracharya commented 5 years ago

Thanks. But if you meant that I should install the gentelellashiny as below, then I had done exactly the same in the beginning.

devtools::install_github("MarkEdmondson1234/gentelellaShiny")

But let remove the package and install it once again.

DivadNojnarg commented 5 years ago

The PR is ready:

devtools::install_github("MarkEdmondson1234/gentelellaShiny")

Let me know

anujbajracharya commented 5 years ago

Works great. Thank you.

Friedrichz commented 5 years ago

On a related topic:

Is there any chance to customize the Gentelella Icon ("Paw") alongside the title in the top left corner of the Sidebar inside the R code?

Thank you!

uttam-1996 commented 5 years ago

the issue is still the same can you please fix it

DivadNojnarg commented 5 years ago

What version of shiny are you currently using?