diff --git a/pages/modules/[module].tsx b/pages/modules/[module].tsx index d1aa6c242048..09ad0f73dc6b 100644 --- a/pages/modules/[module].tsx +++ b/pages/modules/[module].tsx @@ -88,14 +88,15 @@ const ModulePage: NextPage = ({
- {module} - {selectedVersion} + {module} +  {/* helps with dbl-click selection */} + {selectedVersion}

Install

-

+

To start using this module, make sure you have set up Bzlmod according to the user guide, and add the following to your MODULE.bazel{' '} @@ -116,7 +117,7 @@ const ModulePage: NextPage = ({

)}
-

Version history

+

Version history

    {shownVersions.map((version) => ( diff --git a/styles/globals.css b/styles/globals.css index 6138cf9c3155..dfdf5270ba0f 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -18,3 +18,5 @@ a { * { box-sizing: border-box; } + +@import "./page-module.css"; diff --git a/styles/page-module.css b/styles/page-module.css new file mode 100644 index 000000000000..9ca81b59ba66 --- /dev/null +++ b/styles/page-module.css @@ -0,0 +1,10 @@ + +/** Page: modules/[module].tsx */ + +.selectable { + user-select: all; +} + +.decorative { + user-select: none; +}