From a2dff4bfbbfa69e044953f6acdfe6a7dc90e4146 Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Thu, 17 May 2018 11:12:52 +0100 Subject: [PATCH] Right align actions header --- services/web/app/views/project/list/item.pug | 2 +- services/web/app/views/project/list/project-list.pug | 2 +- services/web/public/stylesheets/app/project-list.less | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/services/web/app/views/project/list/item.pug b/services/web/app/views/project/list/item.pug index ccbf73ac80..3326168105 100644 --- a/services/web/app/views/project/list/item.pug +++ b/services/web/app/views/project/list/item.pug @@ -48,7 +48,7 @@ div(class=lastUpdatedClasses) span.last-modified {{project.lastUpdated | formatDate}} if settings.overleaf - .hidden-xs.col-sm-3.col-md-2 + .hidden-xs.col-sm-3.col-md-2.action-btn-row button.btn.btn-link.action-btn( tooltip=translate('copy'), tooltip-placement="top", diff --git a/services/web/app/views/project/list/project-list.pug b/services/web/app/views/project/list/project-list.pug index 5ce92d3d5e..cfea4aa6c6 100644 --- a/services/web/app/views/project/list/project-list.pug +++ b/services/web/app/views/project/list/project-list.pug @@ -149,7 +149,7 @@ span.header.clickable(ng-click="changePredicate('lastUpdated')") #{translate("last_modified")} i.tablesort.fa(ng-class="getSortIconClass('lastUpdated')") if settings.overleaf - .hidden-xs.col-sm-3.col-md-2 + .hidden-xs.col-sm-3.col-md-2.action-btn-row-header span.header #{translate("actions")} li.project_entry.container-fluid( ng-repeat="project in visibleProjects | orderBy:predicate:reverse", diff --git a/services/web/public/stylesheets/app/project-list.less b/services/web/public/stylesheets/app/project-list.less index 0843fc6784..569035ad72 100644 --- a/services/web/public/stylesheets/app/project-list.less +++ b/services/web/public/stylesheets/app/project-list.less @@ -370,14 +370,14 @@ ul.project-list { margin-left: -4px; } - .action-btn-row { + .action-btn-row-header, .action-btn-row { padding-right: 20px; + text-align: right; } .action-btn { padding: 0 0.3em; margin-left: 0.2em; - float: right; } } i.tablesort {