From 086147fdc407dcfce8e7545ac8970874495a19ff Mon Sep 17 00:00:00 2001 From: Sahil Batra Date: Wed, 21 Sep 2022 16:59:26 +0530 Subject: [PATCH] settings: Move display_in_profile_summary checkbox to center. We move display_in_profile_summary checkbox in the custom profile fields table to center. We also need to move heading subsequently to the center. --- static/styles/settings.css | 7 +++++++ static/templates/settings/admin_profile_field_list.hbs | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/static/styles/settings.css b/static/styles/settings.css index eea54f351d..32538ed790 100644 --- a/static/styles/settings.css +++ b/static/styles/settings.css @@ -141,6 +141,13 @@ h3, margin-right: 10px; } +#admin_profile_fields_table { + th.display, + td.display_in_profile_summary_cell { + text-align: center; + } +} + .user-details-title { display: inline-block; min-width: 80px; diff --git a/static/templates/settings/admin_profile_field_list.hbs b/static/templates/settings/admin_profile_field_list.hbs index 4647c2086a..f5e58b0aa2 100644 --- a/static/templates/settings/admin_profile_field_list.hbs +++ b/static/templates/settings/admin_profile_field_list.hbs @@ -13,7 +13,7 @@ {{type}} - + {{#if valid_to_display_in_summary}}