diff options
-rw-r--r-- | app/views/roles/_form.rhtml | 4 | ||||
-rw-r--r-- | public/stylesheets/application.css | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/app/views/roles/_form.rhtml b/app/views/roles/_form.rhtml index 8dab8129a..b77cbacdf 100644 --- a/app/views/roles/_form.rhtml +++ b/app/views/roles/_form.rhtml @@ -13,10 +13,10 @@ <% perms_by_module.keys.sort.each do |mod| %> <fieldset><legend><%= mod.blank? ? l(:label_project) : mod.humanize %></legend> <% perms_by_module[mod].each do |permission| %> - <div style="width:220px;float:left;"> + <label class="floating"> <%= check_box_tag 'role[permissions][]', permission.name, (@role.permissions.include? permission.name) %> <%= permission.name.to_s.humanize %> - </div> + </label> <% end %> </fieldset> <% end %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index a1e1cca22..854f29c63 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -125,6 +125,13 @@ width: 175px; /*width of labels. Should be smaller than left column to create so margin*/ } +.tabular label.floating{ +font-weight: normal; +margin-left: 0px; +text-align: left; +width: 200px; +} + #settings .tabular p{ padding-left: 300px; } #settings .tabular label{ margin-left: -300px; width: 295px; } |