tabler-react icon indicating copy to clipboard operation
tabler-react copied to clipboard

[help] CSS related

Open kimtangs opened this issue 5 years ago • 1 comments

I want to edit the CSS becuase SUB-MENU is shown automatically when I mouse over the MAIN-MENU(NAV), but I don't know where to fix it.
(For reference, it is an /example project) Please let me know.

kimtangs avatar May 23 '20 16:05 kimtangs

Hello mate if you're question is about overriding CSS i think you may test several approaches to solve that :

  • if you are using sass or any css preprocessor you can import their css first (tabler css) and override the properties that you want

  • Or you can try importing your custom css in your component (not that clean)

I managed to solve the issue with the first approach (cuz i'm using sass ). @import "../../node_modules/tabler-react/dist/Tabler.css"; and then import your custom stylesheets. Hope i could help you !

hamzahasbi avatar Jul 23 '20 22:07 hamzahasbi