Reduce vertical/horizontal air in the Comments side panel and shrink body/author/selection font sizes for more comments per screen, scoped to features/comment/ so the shared aside (TOC/Details tabs) is untouched. - comment-list-item: author name + selection quote sm->xs, avatar gap xs, outer pb 6 - comment-list-with-tabs: Paper p/mb sm->xs, reply Divider my 4->2 - comment.module.css: body ProseMirror font-size sm (16->14px), line-height 1.4, margin-top 10->4; .textSelection padding 8->6, margin-top 4->2 Implements docs/backlog/comments-panel-density.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
React + TypeScript + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
Expanding the ESLint configuration
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
- Configure the top-level
parserOptionsproperty like this:
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
- Replace
plugin:@typescript-eslint/recommendedtoplugin:@typescript-eslint/recommended-type-checkedorplugin:@typescript-eslint/strict-type-checked - Optionally add
plugin:@typescript-eslint/stylistic-type-checked - Install eslint-plugin-react and add
plugin:react/recommended&plugin:react/jsx-runtimeto theextendslist