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,7 +99,8 @@ ui <- fluidPage(
99 99
                 div(id="loc2"),
100 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 104
     prettyToggle("mapinfobutton", 
104 105
                  label_on = NULL,
105 106
                  label_off = NULL,

+ 4
- 2
viz/extras.R View File

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