oSoc15 / mmlab

New website for MMLab.be. Drupal-based with RDF extensions.
GNU General Public License v2.0
1 stars 0 forks source link

Spotlight menu - Fixing an item limit #86

Closed elroyK closed 9 years ago

elroyK commented 9 years ago

The Spotlight shouldn't expand too much so a limiting option has to be added. First solution found :

.home__spotlight .leaf{
   display: none;
   }

.home__spotlight .leaf:first-child, .home__spotlight .leaf:nth-child(2), .home__spotlight .leaf:nth-child(3), .home__spotlight .leaf:nth-child(4){
    display: list-item;}

This would limit the number of displayed item to 4, but we can have it be higher or lower depending on needs (see with Frank)

dieterbeelaert commented 9 years ago

I commented something about a random list see my comment on issue #85

dieterbeelaert commented 9 years ago

I wouldn't add a limit to that, and leave the responsibility to the site maintainers. If we would add an item limit we also "lose" data if they want to add more items so let's just leave it as it is