Commit graph

14 commits

Author SHA1 Message Date
alistair3149 851c92cceb
Merge branch 'master' into patch-1 2020-11-24 10:30:40 -05:00
Cameron bf8909e2bb
Fix closed toc eating clicks with phantom div
Previous behaviour was to remove the toc from view by applying a transform to the .toc > ul but *not* .toc itself.

This meant that .toc was still covering the body when the toc was "closed", eating clicks on anything that would be covered by the toc when opened.

This change puts a transform on .toc itself (and changes the transforms on the ul to match), fixing the issue. However, this creates a new stacking context, which affects .toctogglelabel, since its fixed position is now with respect to .toc, not the viewport. Setting .toctogglelabel { right: -100vw } keeps it in the same place.
2020-11-23 16:14:09 +10:30
Cameron 3f0b54aede Make toc closed by default on mobile 2020-11-23 00:29:59 -05:00
Cameron f168f14378
Make toc closed by default on mobile 2020-11-23 13:18:42 +10:30
github-actions eaeadbb776 Make a dinner reservation - MediaWiki CI
I clean up code to MediaWiki standards
2020-08-12 12:59:57 -04:00
alistair3149 8f4c114916 Fix ToC dark mode background 2020-08-12 12:59:57 -04:00
github-actions bf653992da Make a dinner reservation - MediaWiki CI
I clean up code to MediaWiki standards
2020-08-12 12:59:57 -04:00
alistair3149 dc0b3e1549 Fix incorrect rebase merge 2020-08-12 12:59:57 -04:00
alistair3149 ef9f23b8b1 Tweak ToC toggle behavior 2020-08-12 12:59:57 -04:00
github-actions ae78ddf1e0 Make a dinner reservation - MediaWiki CI
I clean up code to MediaWiki standards
2020-08-12 12:59:57 -04:00
alistair3149 88b7e8babc Fix ToC behavior affected by 1.35 changes 2020-08-12 12:59:57 -04:00
alistair3149 187e25443e
Fix ToC overflow in mobile browser 2020-07-03 22:02:12 -04:00
alistair3149 afa5d71486
Rounded corner for ToC drawer 2020-06-30 14:56:01 -04:00
alistair3149 6ba5f41470
Use module name for stylesheets and scripts 2020-06-16 23:03:28 -04:00
Renamed from resources/skins.citizen.styles.toc/toc.less (Browse further)