Skip to content

Commit

Permalink
Fixed #18722 -- Adjusted width of sortable columns in admin
Browse files Browse the repository at this point in the history
Thanks Simon Charette for the report.
  • Loading branch information
heyman authored and claudep committed Nov 24, 2012
1 parent a962bc7 commit 35a0fff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions django/contrib/admin/static/admin/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,10 @@ thead th.sorted {
background: #c5c5c5 url(../img/nav-bg-selected.gif) top left repeat-x;
}

thead th.sorted .text {
padding-right: 42px;
}

table thead th .text span {
padding: 2px 5px;
display:block;
Expand Down
5 changes: 5 additions & 0 deletions django/contrib/admin/static/admin/css/rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ table thead th.sorted .sortoptions {
float: left;
}

thead th.sorted .text {
padding-right: 0;
padding-left: 42px;
}

/* dashboard styles */

.dashboard .module table td a {
Expand Down

0 comments on commit 35a0fff

Please sign in to comment.