diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2022-01-22 09:14:23 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2022-01-22 09:14:23 +0000 |
commit | 218948d4c58cf4358fd3c34f8f1b49bf6a338154 (patch) | |
tree | dd946a2aa6d341d9c9d65339b1c4c37c2d2dffbd | |
parent | a5cd3f791cf723144f59d690f48374a6fc3a9cff (diff) | |
download | redmine-218948d4c58cf4358fd3c34f8f1b49bf6a338154.tar.gz redmine-218948d4c58cf4358fd3c34f8f1b49bf6a338154.zip |
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
-rw-r--r-- | app/views/users/index.html.erb | 2 | ||||
-rw-r--r-- | public/stylesheets/application.css | 1 |
2 files changed, 2 insertions, 1 deletions
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 @@ <th><%= l(:field_mail) %></th> <%= sort_header_tag('admin', :caption => l(:field_admin), :default_order => 'desc') %> <% if Setting.twofa_required? || Setting.twofa_optional? %> - <th><%= l(:setting_twofa) %></th> + <th class="whitespace-normal"><%= l(:setting_twofa) %></th> <% 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;} |