• Mark Otto's avatar
    Improve docs sidenav active link highlighting · 42c52a27
    Mark Otto authored
    Capture the slug once before applying it and add a slash to it to so we get a unique string to match against instead of a fuzzy partial 'contains'. Helps avoid 'grid' highlighting 'flexbox-grid', for example.
    42c52a27