Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid CSS syntax at grid.css in toast-ui.grid package #2081

Open
khelalfa-rabeh96 opened this issue Nov 5, 2024 · 1 comment
Open

Invalid CSS syntax at grid.css in toast-ui.grid package #2081

khelalfa-rabeh96 opened this issue Nov 5, 2024 · 1 comment
Labels

Comments

@khelalfa-rabeh96
Copy link

Describe the bug
I'm using toast-ui.grid in my angular project and when i run ng serve a compilation error raises Expected identifier but found "*" [css-syntax-error] due to invalid CSS syntax in the file grid.css. the source of the invalid CSS syntax is the following

*margin-left: -2px; *padding-left: 2px;

The * prefix causing the compilation and when i removed it the app works just fine and there is no compilation error.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'toast-ui.grid/src/css/grid.css'
  2. Scroll down to the selector '.tui-grid-cell-content .tui-grid-content-input'
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

.tui-grid-cell-content .tui-grid-content-input { ... margin-left: -2px; padding-left: 2px; }

The * should be removed.

Desktop (please complete the following information):

  • Angular:17.3.7
  • node: v18.20.4
  • Typescript: ~5.4.5,
  • tui-grid: ^4.21.22,
@sachin-optimizory
Copy link

Yes, I also found the same syntax error in the CSS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants