Browse Source

should be a fillpage not a fluidpage

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

+ 1
- 1
viz/app.R View File

@@ -44,7 +44,7 @@ startcols.edu <- ifelse(is.na(startcols.edu), "#808080", startcols.edu)
44 44
 hrstr <- "<hr/>"
45 45
 
46 46
 # Define UI
47
-ui <- fluidPage(
47
+ui <- fillPage(
48 48
   useShinyjs(),
49 49
   leafletjs,
50 50
   keyboardjs,

+ 1
- 5
viz/extras.R View File

@@ -1,8 +1,4 @@
1 1
 extracss <- "
2
-html, body {
3
-  width:100%;
4
-  height:100%
5
-}
6 2
 #map {
7 3
   height: 100% !important;
8 4
   position: absolute !important;
@@ -34,7 +30,7 @@ html, body {
34 30
 }
35 31
 #mapcontrol {
36 32
   width: 20em;
37
-  max-height: 90%;
33
+  max-height: 95%;
38 34
   overflow: auto;
39 35
   -ms-overflow-style: none;  /* IE and Edge */
40 36
   scrollbar-width: none;  /* Firefox */