Closed (fixed)
Project:
FriendsElectric
Component:
Suggestions
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Apr 2005 at 15:32 UTC
Updated:
6 May 2005 at 06:12 UTC
After upgrading drupal to 4.6 (and upgrading the phptemplate theme engine as well) I notice that the tabs on node pages (like Edit, Outline, Track) are "squished together" for lack of a better term, with the corresponding text just overflowing their borders. It appears to be an issue in the css file with the placement of the tab-left.png background image and the negative pixel value. Here's the code snippet (from style.css) that I believe to be the problem.
ul.primary li a .lw1 {
margin: 0px;
padding: 4px 15px 0px;
display: block;
background: url(tab-left.png) no-repeat 0% -38px;
border-width: 0px;
height: 20px;
text-decoration: none;
line-height: 20px;
cursor: pointer;
}
#main ul.primary li a:hover .lw1 {
background: url(tab-left.png) no-repeat 0% -76px;
border-width: 0px;
}
#main ul.primary li.active a .lw1, #main ul.primary li.active a:hover .lw1 {
background: url(tab-left.png) no-repeat 0% 0px;
border-width: 0px;
color: #000;
}
I attached a screenshot of the problem, but it can also be found here
This may be a simple fix, (for all that I know) but I figured it was a sufficiently big enough problem to warrant mentioning.
| Comment | File | Size | Author |
|---|---|---|---|
| friendselectric-tabs.png | 11.43 KB | davek@davekaufman.net |
Comments
Comment #1
Steven commentedCan you confirm this with the latest version of FriendsElectric?
Comment #2
davek@davekaufman.net commentedAs far as I know, I have the latest version...it's the same one that is listed on the projects page, anyhow. (4.5)
I also forgot to mention that I reprouced the bug in Firefox q.0+(Windows, Linux, and Mac), IE6 (Win), Camino 0.8.3, and Sarari 1.3, if that helps any.
Comment #3
Hinnerk commented-cvs (from http://drupal.org/files/projects/friendselectric-cvs.tar.gz) works fine on 4.6.0, tested with firefox and Safari, -4.5.0 has the problem (which seems obvious to me?).
Thanks to Steven for this excellent theme!
Comment #4
davek@davekaufman.net commentedYes, the fix was to install the cvs version, which I was too stupid to find on my own, apparently. It might also be worth noting what the fix actually was, so here's the diff on template.php that dixed the problem (complete credit to Steven on this, I am just posting the code to show what the fix was).
diff /tmp/friendselectric-cvs/template.php /tmp/friendselectic-4.5/template.php
confirmed fixed on Safari 1.3, Firefox 1.0+ for both Linux and Mac, and Camino 0.8.3
Comment #5
(not verified) commentedComment #6
Mike in Maine commentedI believe I have the latest version and I still have this problem in both firefox and IE.