From: Marius Balteanu Date: Sat, 22 Jan 2022 09:14:23 +0000 (+0000) Subject: Display "Two-factor authentication" on two lines to save some space (#35934). X-Git-Tag: 5.0.0~94 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=218948d4c58cf4358fd3c34f8f1b49bf6a338154;p=redmine.git Display "Two-factor authentication" on two lines to save some space (#35934). git-svn-id: http://svn.redmine.org/redmine/trunk@21381 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb index c57127da3..101b00efd 100644 --- a/app/views/users/index.html.erb +++ b/app/views/users/index.html.erb @@ -43,7 +43,7 @@ <%= l(:field_mail) %> <%= sort_header_tag('admin', :caption => l(:field_admin), :default_order => 'desc') %> <% if Setting.twofa_required? || Setting.twofa_optional? %> - <%= l(:setting_twofa) %> + <%= l(:setting_twofa) %> <% end %> <%= sort_header_tag('created_on', :caption => l(:field_created_on), :default_order => 'desc') %> <%= sort_header_tag('last_login_on', :caption => l(:field_last_login_on), :default_order => 'desc') %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 6ef5f8ef8..eddbd4b31 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -247,6 +247,7 @@ div + .drdn-items {border-top:1px solid #ccc;} /***** Tables *****/ table.list, .table-list { border: 1px solid #e4e4e4; width: 100%; margin-bottom: 4px; border-radius: 3px; border-spacing: 0; overflow: hidden;} table.list th, .table-list-header { background-color:#EEEEEE; padding: 4px; white-space:nowrap; font-weight:bold; } +table.list th.whitespace-normal {white-space: normal;} table.list td {text-align:center; vertical-align:middle; padding-right:10px;} table.list td.id { width: 2%; text-align: center;} table.list td.name, table.list td.description, table.list td.subject, table.list td.parent-subject, table.list td.comments, table.list td.roles, table.list td.attachments, table.list td.text, table.list td.short_description {text-align: left;}