Explorar el Código

Merge pull request #2336 from andreynering/scroll-always-visible

Making scroll always visible.
Unknwon hace 9 años
padre
commit
19c234db39
Se han modificado 2 ficheros con 2 adiciones y 0 borrados
  1. 1 0
      public/css/gogs.css
  2. 1 0
      public/less/_base.less

+ 1 - 0
public/css/gogs.css

@@ -718,6 +718,7 @@
 body {
   font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif, '微软雅黑';
   background-color: #FAFAFA;
+  overflow-y: scroll;
 }
 img {
   border-radius: 3px;

+ 1 - 0
public/less/_base.less

@@ -3,6 +3,7 @@
 body {
 	font-family: 'Helvetica Neue',Arial,Helvetica,sans-serif,'微软雅黑';
 	background-color: #FAFAFA;
+	overflow-y: scroll;
 }
 img {
 	border-radius: 3px;