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

+ 2
- 1
viz/app.R View File

99
                 div(id="loc2"),
99
                 div(id="loc2"),
100
                     htmlOutput("secondarylochtml"))
100
                     htmlOutput("secondarylochtml"))
101
                 ),
101
                 ),
102
-  absolutePanel(top=10, right=4, id="infobuttoncontainer",
102
+  absolutePanel(top=10, right=9, id="infobuttoncontainer",
103
+                title="Toggle (I)nformation",
103
     prettyToggle("mapinfobutton", 
104
     prettyToggle("mapinfobutton", 
104
                  label_on = NULL,
105
                  label_on = NULL,
105
                  label_off = NULL,
106
                  label_off = NULL,

+ 4
- 2
viz/extras.R View File

33
   z-index: 1000;
33
   z-index: 1000;
34
 }
34
 }
35
 #mapcontrol {
35
 #mapcontrol {
36
-  width: 22em;
36
+  width: 20em;
37
   max-height: 90%;
37
   max-height: 90%;
38
   overflow: auto;
38
   overflow: auto;
39
   -ms-overflow-style: none;  /* IE and Edge */
39
   -ms-overflow-style: none;  /* IE and Edge */
145
 .btn.radiobtn {
145
 .btn.radiobtn {
146
     text-align: left;
146
     text-align: left;
147
 }
147
 }
148
-#control2 .state label {
148
+#control2 .state label,
149
+#infobuttoncontainer .state label
150
+{
149
     width: 0px;
151
     width: 0px;
150
 }
152
 }
151
 "
153
 "