Skip to content

[BUG] CSS style not applied if just import module self #602

Description

@shioshosho

Before You Submit

  • Please search for existing issues (open and closed) to avoid creating a duplicate.

Problem Summary
The compiled ESM entry point (dist/index.esm.js) does not contain an import statement for dist/style.css, so module users must manually add import 'react-chrono/dist/style.css' to prevent broken layout.

Describe the bug
After installing react-chrono v3.3.3 and importing the Chrono component per the README instructions (import { Chrono } from 'react-chrono'), no styles seem to be applied for the component.

To Reproduce
Steps to reliably reproduce the behavior:

  1. create a react project like create-next-app command
  2. add this library to its dependency
  3. write page component includes Chrono component imported with import { Chrono } from 'react-chrono'
  4. run dev server
  5. see the bug

Expected behavior
rendering styled component like demo

Actual behavior
just rendered unstyled component

Screenshots & Recordings
Image

Environment (please complete the following information):

Desktop (if applicable):

  • OS: Linux (NixOS 25.11)
  • Browser & Version: Vivaldi 7.8
  • Screen Resolution: 1920x1080
  • Zoom Level (if applicable): 100%

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions