In Chrome (webkit?) browsers with the zen (starterkit?) themes the [Edit view] link is wrapped on two lines and not placed correctly, such that it obscures the first part of the first line of text of the view. This makes testing and development rather difficult, frustrating and annoying. This patch fixes the issue by making views' CSS more thorough, so that it is not easily (or accidentally) overridden by themes.

This bug may apply to other themes and/or browsers, but Chrome and starterkit are both very common combinations. This fix should catch a wide range of theme and browser issues that cause this.

I also re-ordered the related CSS selectors so that the CSS is more human-readable.

CommentFileSizeAuthor
#3 views-links-2.patch1.03 KBdagmar
#1 Before.png12.43 KBBevan
#1 After.png12.42 KBBevan
views-links.patch1.14 KBBevan
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Bevan’s picture

FileSize
12.42 KB
12.43 KB

The attached screenshots show the bug before and after applying the patch. The [Edit view] link is black in the before screenshot because the "Digital" link can not be clicked and the [Edit view] link's hover state is triggered. In the after screenshot both the [Edit view] and the "Digital" link can be clicked.

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

This was quite annoying always.

Patch fixes the problem

@bevan
It saves some seconds if you can make a patch relative to the views root and not relative to your site-root and not using a/b

dagmar’s picture

FileSize
1.03 KB

Yes! finally a solution for this problem, thanks @bevan

@dereine here is a re-rolle using the views root path.

Bevan’s picture

dereine; Oops! My bad. I intended to, but slipped up.

merlinofchaos’s picture

Version: 6.x-3.x-dev » 7.x-3.x-dev
Status: Reviewed & tested by the community » Patch (to be ported)

Committed to D6 branches. Doesn't apply to D7, should be a simple manual fix.

dawehner’s picture

Status: Patch (to be ported) » Fixed

I don't think this has to be ported.

Views uses contextual links which have their own css code.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.