Просмотр исходного кода

Merge pull request #2338 from overleaf/fix-scroll-overflow

[misc] do not force a scrollbar on the project list view

GitOrigin-RevId: e6bed4566afd9b0bca38506028b1133376f90826
Timothée Alby 7 лет назад
Родитель
Сommit
e3c8de035a

+ 1 - 2
services/web/app/views/project/list/item.pug

@@ -49,9 +49,8 @@ td.project-list-table-owner-cell
 			tooltip=translate("link_sharing")
 			tooltip-placement="right"
 			tooltip-append-to-body="true"
-			aria-hidden="true"
+			aria-label=translate("link_sharing")
 		)
-		span.sr-only #{translate("link_sharing")}
 
 td.project-list-table-lastupdated-cell
 	span.last-modified(tooltip="{{project.lastUpdated | formatDate}}")

+ 1 - 1
services/web/public/stylesheets/app/project-list.less

@@ -90,7 +90,7 @@
   padding-bottom: @content-margin-vertical;
   height: 100%;
   margin-left: -(@grid-gutter-width / 2);
-  overflow-y: scroll;
+  overflow-y: auto;
 }
 
 .project-header {