Skip to content

Commit

Permalink
Fixed #16659 -- Made the admin's date drilldown links in the changeli…
Browse files Browse the repository at this point in the history
…st have a variable width to play nicer with languages with long month names.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
jphalip committed Sep 19, 2011
1 parent e5aeba0 commit 212b048
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
3 changes: 1 addition & 2 deletions django/contrib/admin/static/admin/css/changelists.css
Expand Up @@ -165,11 +165,10 @@
}

.change-list ul.toplinks li {
float: left;
width: 9em;
padding: 3px 6px;
font-weight: bold;
list-style-type: none;
display: inline-block;
}

.change-list ul.toplinks .date-back a {
Expand Down
6 changes: 6 additions & 0 deletions django/contrib/admin/static/admin/css/ie.css
Expand Up @@ -54,4 +54,10 @@

.inline-deletelink {
background: transparent url(../img/inline-delete-8bit.png) no-repeat;
}

/* IE7 doesn't support inline-block */
.change-list ul.toplinks li {
zoom: 1;
*display: inline;
}
4 changes: 0 additions & 4 deletions django/contrib/admin/static/admin/css/rtl.css
Expand Up @@ -108,10 +108,6 @@ table thead th.sorted a span.sortpos {

/* changelists styles */

.change-list ul.toplinks li {
float: right;
}

.change-list .filtered {
background: white url(../img/changelist-bg_rtl.gif) top left repeat-y !important;
}
Expand Down

0 comments on commit 212b048

Please sign in to comment.