Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fixed #18722 -- Admin CSS fix #527

Closed
wants to merge 1 commit into from

3 participants

Jonatan Heyman Jannis Leidel Claude Paroz
Jonatan Heyman

Updated admin CSS to prevent sorting options in

to be overlapped by column name text

https://code.djangoproject.com/ticket/18722

Jannis Leidel
Owner

@heyman Thanks, I think the rtl.css needs an update, too.

Jonatan Heyman heyman Fixed #18722 -- Admin CSS fix
Updated admin CSS to prevent sorting options in <th> to be overlapped by column name text
db970b8
Claude Paroz
Owner

Thanks, committed in 35a0fff and 75bc081

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Nov 17, 2012
Jonatan Heyman heyman Fixed #18722 -- Admin CSS fix
Updated admin CSS to prevent sorting options in <th> to be overlapped by column name text
db970b8
This page is out of date. Refresh to see the latest.
4 django/contrib/admin/static/admin/css/base.css
@@ -322,6 +322,10 @@ thead th.sorted {
322 322 background: #c5c5c5 url(../img/nav-bg-selected.gif) top left repeat-x;
323 323 }
324 324
  325 +thead th.sorted .text {
  326 + padding-right: 42px;
  327 +}
  328 +
325 329 table thead th .text span {
326 330 padding: 2px 5px;
327 331 display:block;
5 django/contrib/admin/static/admin/css/rtl.css
@@ -84,6 +84,11 @@ table thead th.sorted .sortoptions {
84 84 float: left;
85 85 }
86 86
  87 +thead th.sorted .text {
  88 + padding-right: 0;
  89 + padding-left: 42px;
  90 +}
  91 +
87 92 /* dashboard styles */
88 93
89 94 .dashboard .module table td a {

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.