Ghost/apps/comments-ui
Peter Zimon cd8a54d7cc
Updated borders in comments CTA box (#20274)
DES-189

Our use of borders makes it very difficult to style a theme that looks
good with all states. Theme developers need a border to separate
comments from the content, but the current comments output includes
borders. It's possible to make it look ok in most of the time, but it's
difficult to work with. This change updates borders from the comments
CTA box with the following rules:

- Logged out without comments: no borders
- Logged out with comments: top border only
- Logged in without comments: no borders
- Logged in with comments: no borders
2024-06-18 13:43:53 +02:00
..
src Updated borders in comments CTA box (#20274) 2024-06-18 13:43:53 +02:00
test Moved pagination button back to top in comments (#20379) 2024-06-13 09:10:30 +07:00
.env
.eslintrc.js
.yarnrc
LICENSE
package.json Published new version of Comments-UI (#20380) 2024-06-13 09:25:31 +07:00
playwright.config.ts
postcss.config.cjs
README.md
tailwind.config.js
tsconfig.json
tsconfig.node.json
vite.config.ts Hidden "info" Vite output unless in CI 2023-11-15 10:11:22 +01:00

Comments UI

Comments widget that is embedded at the bottom of posts in Ghost.

Development

Pre-requisites

  • Run yarn in Ghost monorepo root

Running via Ghost yarn dev in root folder

You can automatically start the comments dev server when developing Ghost by running Ghost (in root folder) via yarn dev --all or yarn dev --comments. This will host the comments JavaScript files, and makes sure that Ghost uses these locally hosted assets instead of the ones from the CDN.

Copyright & License

Copyright (c) 2013-2023 Ghost Foundation - Released under the MIT license.