From 97e4ff30ffd1a0b103f9244c3fbe40b52d8217a7 Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Tue, 17 Dec 2019 12:31:14 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B0330=20attachments=20size=20column=20:=20?= =?UTF-8?q?right=20align=20(both=20on=20console=20and=20portal)=20Allows?= =?UTF-8?q?=20easier=20comparison=20to=20see=20bigger=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/light-grey.scss | 5 +++++ datamodels/2.x/itop-portal-base/portal/public/css/portal.css | 3 +++ .../2.x/itop-portal-base/portal/public/css/portal.scss | 3 +++ 3 files changed, 11 insertions(+) diff --git a/css/light-grey.scss b/css/light-grey.scss index b5af94752..2a7e24b7f 100644 --- a/css/light-grey.scss +++ b/css/light-grey.scss @@ -3850,3 +3850,8 @@ input:checked + .slider:before { .pull-right { float: right; } .pull-left { float: left; } + +table.attachmentsList tr>td:nth-child(3) { + text-align: right; + padding-right: 0.5em; +} \ No newline at end of file diff --git a/datamodels/2.x/itop-portal-base/portal/public/css/portal.css b/datamodels/2.x/itop-portal-base/portal/public/css/portal.css index c70e744c6..38ca1aaed 100644 --- a/datamodels/2.x/itop-portal-base/portal/public/css/portal.css +++ b/datamodels/2.x/itop-portal-base/portal/public/css/portal.css @@ -1121,6 +1121,9 @@ table .group-actions { .attachments_container .attachmentsList tbody > tr > td:first-child { text-align: center; } +.attachments_container .attachmentsList tbody > tr > td:nth-child(3) { + text-align: right; +} .attachments_container .attachment { height: 4em; } diff --git a/datamodels/2.x/itop-portal-base/portal/public/css/portal.scss b/datamodels/2.x/itop-portal-base/portal/public/css/portal.scss index 96cedd656..76eb8a5ca 100644 --- a/datamodels/2.x/itop-portal-base/portal/public/css/portal.scss +++ b/datamodels/2.x/itop-portal-base/portal/public/css/portal.scss @@ -1207,6 +1207,9 @@ table .group-actions .item-action-wrapper .panel-body > p:last-child{ &:first-child { text-align: center; } + &:nth-child(3) { + text-align: right; + } } }