SemanticMediaWiki / Stragula

Stragula flavour to the MediaWiki Chameleon skin for semantic-mediawiki.org
ISC License
3 stars 2 forks source link

Avoid the use of important in multi-column dropdown menues #20

Open ivanhercaz opened 6 years ago

ivanhercaz commented 6 years ago

@kghbln, after read some posts in StackOverflow I have two theories:

  1. Maybe something in the cascade-hierarchy is overlapping the media query, but this is strange because the priority is always the last specification, as we have in the code: first the default and then the media query.
  2. Maybe is necessary to use another rule to specify the min-width.

I made the change based on the second theory. Could you use this code to check if it works fine without !important? Note that you have to remove the left and right from .dropdown-content, to be just in media queries.

For the user manual, if tomorrow I have a bit of time to dedicate to it, I will make it.

kghbln commented 6 years ago

@ivanhercaz Thanks for your pulls! I am currently sick so I will not be able to deal with them immediately. Hope to do this on Saturday.

ivanhercaz commented 6 years ago

You're welcome, Karsten! I hope you recover soon, but please, make a backup of you, because we need you!

What you need is to stay some time in the Canary Islands, there is many cold in Germany :umbrella: :snowflake:

Enviado desde mi Redmi 4X usando FastHub-Libre