Initial URL Bug Fix

James Peret 7 years ago
parent
commit
3e2bcc3113
3 changed files with 16 additions and 2 deletions
  1. 1 0
      app/scripts/app.js
  2. 13 0
      app/styles/main.css
  3. 2 2
      app/views/page.html

+ 1 - 0
app/scripts/app.js

@@ -85,5 +85,6 @@ angular
85 85
       templateUrl: "views/page.html",
86 86
       controller: 'PageController'
87 87
     });
88
+    $urlRouterProvider.otherwise("/");
88 89
 
89 90
   }]);

+ 13 - 0
app/styles/main.css

@@ -378,3 +378,16 @@ td span {
378 378
   position: absolute;
379 379
   font-size: 14px;
380 380
 }
381
+
382
+::-webkit-scrollbar {
383
+    width: 12px;
384
+}
385
+
386
+::-webkit-scrollbar-track {
387
+    border-radius: 0px;
388
+}
389
+
390
+::-webkit-scrollbar-thumb {
391
+    border-radius: 0px;
392
+    background: white;
393
+}

+ 2 - 2
app/views/page.html

@@ -2,9 +2,9 @@
2 2
   <div class="layer-content fx-fade-normal fx-easing-quad fx-speed-500" ng-show="showView">
3 3
     <a class="btn-menu fixed-top-right" ng-click="fadeOut()">X</a>
4 4
     <div class="Aligner page">
5
-      <div class="Aligner-item Aligner-item--top">
5
+      <div class="Aligner-item Aligner-item--top" style="height: 90%;">
6 6
         <h1><span>{{pageData.i18n[lang]}}</span></h1>
7
-        <div class="page-content" ng-bind-html="pageData.content[lang]"></div>
7
+        <div class="page-content" ng-bind-html="pageData.content[lang]" style="overflow: scroll; height: 100%;"></div>
8 8
       </div>
9 9
     </div>
10 10