MediaWiki:Vector.css: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
/* Custom backport of sidebar TOC from Vector 2022 skin */
/* Custom backport of sidebar TOC from Vector 2022 skin */
.toc {
.toc {
   font-size:12px;
   font-size: 12px;
   position:sticky;
   position: sticky;
   width:12%;
   top: 0;
  max-height: 100vh;
  overflow: auto;
}
}

Revision as of 05:18, 22 February 2024

/* All CSS here will be loaded for users of the Vector skin */

/* Custom backport of sidebar TOC from Vector 2022 skin */
.toc {
   font-size: 12px;
   position: sticky;
   top: 0;
   max-height: 100vh;
   overflow: auto;
}