Browse Source

Remove "info" label

Petra Lamborn 3 years ago
parent
commit
6fd6bb69c5
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      viz/app.R

+ 4
- 4
viz/app.R View File

@@ -99,10 +99,10 @@ ui <- fluidPage(
99 99
                 div(id="loc2"),
100 100
                     htmlOutput("secondarylochtml"))
101 101
                 ),
102
-  absolutePanel(top=10, right=10, id="infobuttoncontainer",
102
+  absolutePanel(top=10, right=4, id="infobuttoncontainer",
103 103
     prettyToggle("mapinfobutton", 
104
-                 label_on = HTML("<span class='shortcut'>I</span>nfo"),
105
-                 label_off = HTML("<span class='shortcut'>I</span>nfo"),
104
+                 label_on = NULL,
105
+                 label_off = NULL,
106 106
                  icon_on=icon("times"),
107 107
                  icon_off = icon("info"),
108 108
                  animation = "pulse",
@@ -111,7 +111,7 @@ ui <- fluidPage(
111 111
                  status_off = "primary",
112 112
                  value = TRUE)
113 113
   ),
114
-  absolutePanel(top = 40, right = 7.5, id="control2", title="Toggle panel",
114
+  absolutePanel(top = 40, right = 6, id="control2", title="Toggle panel",
115 115
                 prettySwitch("controlswitch", value=TRUE, label = NULL,
116 116
                              slim = FALSE,
117 117
                                inline=TRUE, status="info",