Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Sidebar text color ignored when highlighted in mobile #101

Open
Amousey opened this issue Sep 22, 2020 · 1 comment
Open

Sidebar text color ignored when highlighted in mobile #101

Amousey opened this issue Sep 22, 2020 · 1 comment

Comments

@Amousey
Copy link

Amousey commented Sep 22, 2020

Setup

  • Browsers and versions: Safari on ios 13.7 and earlier
  • MediaWiki version: 1.30 and 1.31
  • Pivot version: 2.1 and 2.2
  • occurs on Pivot demo website

Issue

From a mobile, highlighting a side bar menu item changes the background colour but not the text color of the link.

Pivot.css v2.2 code

@@ -798,6 +815,7 @@ ul.side-nav label { background: #517398; color: #fff; padding: .25em .5em; pointer-events: none; }

@fenglisch
Copy link

fenglisch commented Feb 26, 2021

To change the text color, you have to select the a tag within the li tag, so in your case ... ul.side-nav label a ...
Hope this helps.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants