From 2a42a8da3e3dfa6edf04feaf6f05f87fa4d3969b Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Wed, 3 Oct 2018 13:19:08 +0200 Subject: [PATCH] Center align the footer file number & size summary Signed-off-by: Jan-Christoph Borchardt --- apps/files/css/files.scss | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index c08de6cfeb..6a2aa604c6 100644 --- a/apps/files/css/files.scss +++ b/apps/files/css/files.scss @@ -842,4 +842,27 @@ table.dragshadow td.size { text-overflow: ellipsis; } } + + /* Center align the footer file number & size summary */ + tfoot { + display: grid; + + .summary { + display: inline-block; + margin: 0 auto; + + td { + padding-top: 50px; + + &:first-child, + &.date { + display: none; + } + + .info { + margin-left: 0; + } + } + } + } }