Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Nov 2008 at 22:07 UTC
Updated:
19 Jan 2010 at 00:10 UTC
The css/views.css line 33 width: 95% triggers my Firefox's horizontal Scrollbar into a huge emptyness.
A width: auto; would also be ok, but percentages are based on the full browser window width in this case. and is wrong in any left indentation of the views' start.
The attached patch removes the width definition. My tests show it still works perfectly after removing.
If anybody else checks please confirm it is not resulting in any other problem triggered.
| Comment | File | Size | Author |
|---|---|---|---|
| views.css_.diff | 282 bytes | miro_dietiker |
Comments
Comment #1
miro_dietikerThis issue was triggered in acquia_marina, firefox 3 only and is being addressed as a theming issue.
E.g. garland doesn't show the scrollbar issues.
You could override it in you the individual theme if you have the same issues.
Comment #2
jwolf commentedThis issue is not just Acquia Marina related; this is happening to any theme that has a fixed page width.
This is also happening in other browsers, not just Firefox.
Replacing 95% with 50% for width fixes this in fixed width themes and in cross browser testing (Safari, Opera, Firefox, Chrome and IE7).
Comment #3
pasqualleAs I know the minelli (fixed page width) theme works fine.
Comment #4
jwolf commentedMinelli is using position: relative; in #page which fixes this. Using position: relative is not feasible for some themes.
Comment #5
alexkb commentedjwolf's suggestion seems best.
Is there a setting on a per view basis that can be used to turn the display of these edit/export/clone views links off?
Comment #6
chrisparsons commentedThere's no per-view basis, but there is a system-wide setting, "Do not show hover links over views" under Views -> Tools.
I can't think of many (read as any) situations where there'd need to be a per-view setting for this.
Comment #7
aren cambre commentedPatch submitted, so needs review.
This fixes it for me, too. Not sure of the point of specifying width on those links.
This also causes problems with UI interaction with elements below this 95% wide div. E.g., links under all this blank space are not clickable.
Also, this is not limited to fixed-width themes. It's happening for me on a fluid-width Zen subtheme.
Comment #8
merlinofchaos commentedCan anyone confirm for me that removing the width: 95% has no ill effects on themes that aren't Garland? I'm afraid I'm going to fix this for 5 people and break it for 25.
Comment #9
stephthegeek commentedWe've been resetting this for ages in all our themes with:
So yes, this should be no problem to simply remove.
Comment #10
merlinofchaos commentedAll right, committed to all branches. Let's see if this blows up on me!