From 14867cff7ed4682a9b508b224e37d70aecf75508 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sun, 11 Nov 2018 00:04:04 -0500 Subject: [PATCH] Fixed: Center icons in tables Co-Authored-By: Mark McDowall --- frontend/src/Activity/History/HistoryEventTypeCell.css | 3 +++ frontend/src/Components/Page/Sidebar/PageSidebarItem.css | 4 +++- frontend/src/System/Backup/BackupRow.css | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/src/Activity/History/HistoryEventTypeCell.css b/frontend/src/Activity/History/HistoryEventTypeCell.css index 086354783..fac97a6c7 100644 --- a/frontend/src/Activity/History/HistoryEventTypeCell.css +++ b/frontend/src/Activity/History/HistoryEventTypeCell.css @@ -1,3 +1,6 @@ .cell { + composes: cell from 'Components/Table/Cells/TableRowCell.css'; + width: 35px; + text-align: center; } diff --git a/frontend/src/Components/Page/Sidebar/PageSidebarItem.css b/frontend/src/Components/Page/Sidebar/PageSidebarItem.css index 450161705..dac40927f 100644 --- a/frontend/src/Components/Page/Sidebar/PageSidebarItem.css +++ b/frontend/src/Components/Page/Sidebar/PageSidebarItem.css @@ -36,7 +36,9 @@ .iconContainer { display: inline-block; - width: 25px; + margin-right: 7px; + width: 18px; + text-align: center; } .noIcon { diff --git a/frontend/src/System/Backup/BackupRow.css b/frontend/src/System/Backup/BackupRow.css index 40deb4ded..d83a22e25 100644 --- a/frontend/src/System/Backup/BackupRow.css +++ b/frontend/src/System/Backup/BackupRow.css @@ -2,6 +2,7 @@ composes: cell from 'Components/Table/Cells/TableRowCell.css'; width: 20px; + text-align: center; } .actions {