I use garland theme - yet when I call up the URL redirects list, the displayed table is so wide that it superimposes over the right hand area for blocks. Could the module's CSS settings be changed to limit the width of the table to match the theme in use?

CommentFileSizeAuthor
#2 path_redirect-6.x-1.x_css_2.patch1.08 KBHorsePunchKid

Comments

HorsePunchKid’s picture

Category: bug » support

I was tempted to mark this as a duplicate of this previous issue, but perhaps it deserves another look. My solution last time was simply to add a class to the table so that you could style it in whatever way was necessary for your theme. If that's not good enough, please feel free to set this back to a bug report or feature request.

HorsePunchKid’s picture

StatusFileSize
new1.08 KB

What about something like this?

path_redirect.css:

table.path-redirects td.path-redirect-to div
{
    width: 10em;
    overflow: auto;
}

I'm not quite happy with it. It would be nice if the "to" column would expand to take up as much space as was available if necessary. I'm not sure how to achieve that with just CSS.

dave reid’s picture

Title: URL redirect list in Garland theme » Redirect table overflows into the sidebar/theme
Version: 5.x-1.1 » 6.x-1.x-dev
Assigned: Unassigned » dave reid
Category: support » task

Bumping this as something to get fixed. It may be a part of a larger admin overhaul in #365070: Interface improvements.

dave reid’s picture

I've managed to shrink down the table size a little bit on 6.x-1.x. I tested it on a 800x600 resolution and it seemed to work just fine.

dave reid’s picture

Making a note to myself to use truncate_utf8() so long URLs are 'trimmed' down and will help keep the table skinny.

dave reid’s picture

Status: Active » Closed (duplicate)