Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions src/components/PageLinks/PageLinks.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@ import PropTypes from "prop-types";
const baseURL = "https://github.com/webpack/webpack.js.org/edit/main/";

function Separator() {
return <span className="mx-5 text-black font-bold dark:text-white">·</span>;
return (
<span className="mx-5 text-gray-500 font-semibold dark:text-gray-300">
·
</span>
);
}

const classes =
"text-gray-500 dark:text-gray-500 text-sm cursor-pointer font-sans hover:underline";
"text-gray-500 dark:text-gray-200 text-sm cursor-pointer font-sans hover:underline hover:text-gray-500 dark:hover:text-white transition-colors";

function _handlePrintClick(event) {
event.preventDefault();
Expand All @@ -21,7 +25,7 @@ export default function PageLinks({ page = {} }) {
const editLink = page.edit || Url.resolve(baseURL, page.path);

return (
<div className="print:hidden mt-20">
<div className="print:hidden mt-8">
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mt-8 isn’t part of the configured Tailwind spacing scale in this repo (spacing is overridden to 0/5/10/20 in tailwind.config.js), so this margin class won’t be generated and the top spacing change won’t take effect. Use an existing spacing value (e.g., mt-10 or mt-5) to achieve the tightened layout.

Suggested change
<div className="print:hidden mt-8">
<div className="print:hidden mt-5">

Copilot uses AI. Check for mistakes.
<a className={classes} href={editLink}>
Edit this page
</a>
Expand Down
Loading