# Problem with using custom CSS file

**URL:** <https://community.dynatrace.com/t/problem-with-using-custom-css-file/42974>\
**Category:** Developer Q&A Forum\
**Tags:** custom-app\
**Created:** [December 1, 2023, 10:04am UTC](https://community.dynatrace.com/t/problem-with-using-custom-css-file/42974 "2023-12-01T10:04:40Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![michiel\_otten](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/michiel_otten/32/21987_2.png) [@michiel\_otten](https://community.dynatrace.com/u/michiel_otten)\
**Post date:** [December 1, 2023, 10:04am UTC](https://community.dynatrace.com/t/problem-with-using-custom-css-file/42974/1 "2023-12-01T10:04:40Z")

</div>

Hi there,

I’ve installed and this module in my application:

> **[GitHub - react-grid-layout/react-grid-layout: A draggable and resizable grid layout with...](https://github.com/react-grid-layout/react-grid-layout)**
>
> A draggable and resizable grid layout with responsive breakpoints, for React.

Within this module I need to use a css file. Locally I can use it but when I deploy my application, the CSS file is not included. Ive already updates my Dynatrace App version to the latest versions.

My question would be: what’s the best way to use a CSS file from a node\_module? Locally it works perfectly, when deployed it gets ignored.

Many thanks in advance for your help!

KR.  
Michiel

---

<div class="post-metadata">

**Author:** ![gilgi](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gilgi/32/11747_2.png) [@gilgi](https://community.dynatrace.com/u/gilgi)\
**Post date:** [December 1, 2023, 11:39am UTC](https://community.dynatrace.com/t/problem-with-using-custom-css-file/42974/2 "2023-12-01T11:39:42Z")

</div>

Hi&nbsp;[@michiel\_otten](https://community.dynatrace.com/user/4669)

Seems liek you’re experiencing something similar to what I’m seeing and trying to resolve as described on this thread: [https://community.dynatrace.com/t5/Developer-Q-A-Forum/using-reactflow-in-an-app/td-p/226904](https://community.dynatrace.com/topic/226904)

Gil.

---

<div class="post-metadata">

**Author:** ![michiel\_otten](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/michiel_otten/32/21987_2.png) [@michiel\_otten](https://community.dynatrace.com/u/michiel_otten)\
**Post date:** [December 1, 2023, 12:12pm UTC](https://community.dynatrace.com/t/problem-with-using-custom-css-file/42974/3 "2023-12-01T12:12:16Z")

</div>

Hi Gil,

I found that topic as well but unfortunately the solution there was to update the app to the latest versions.  
This did not work for me unfortunately 😞

KR.  
Michiel

---

<div class="post-metadata">

**Author:** ![gilgi](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gilgi/32/11747_2.png) [@gilgi](https://community.dynatrace.com/u/gilgi)\
**Post date:** [December 1, 2023, 12:15pm UTC](https://community.dynatrace.com/t/problem-with-using-custom-css-file/42974/4 "2023-12-01T12:15:28Z")

</div>

[@michiel\_otten](https://community.dynatrace.com/user/4669)&nbsp;,

Still, keep track on it because I suspect it is the same issue now.

Gil.

---

<div class="post-metadata">

**Author:** ![imsingh](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/imsingh/32/7858_2.png) [@imsingh](https://community.dynatrace.com/u/imsingh)\
**Post date:** [December 3, 2023, 7:08pm UTC](https://community.dynatrace.com/t/problem-with-using-custom-css-file/42974/5 "2023-12-03T19:08:00Z")

</div>

Hi there, I’ve been debugging this issue and there seems to be a bug in the CLI. What I can see is that, when you import a CSS file in your TypeScript/JavaScript, final build has a corresponding CSS file, however, it’s not linked in HTML. Therefore, the deployed version doesn’t have it.

I’ll double check with the team and let you know when we have a confirmed bug.

---

<div class="post-metadata">

**Author:** ![imsingh](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/imsingh/32/7858_2.png) [@imsingh](https://community.dynatrace.com/u/imsingh)\
**Post date:** [December 4, 2023, 9:32am UTC](https://community.dynatrace.com/t/problem-with-using-custom-css-file/42974/6 "2023-12-04T09:32:11Z")

</div>

[@michiel\_otten](https://community.dynatrace.com/user/4669)&nbsp;can you confirm if you’re using windows? I can confirm that it’s a bug on windows and works on other OS. The concerned team is made aware of it and it will be resolved asap. Thanks 🙂

---

<div class="post-metadata">

**Author:** ![michiel\_otten](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/michiel_otten/32/21987_2.png) [@michiel\_otten](https://community.dynatrace.com/u/michiel_otten)\
**Post date:** [December 4, 2023, 10:48am UTC](https://community.dynatrace.com/t/problem-with-using-custom-css-file/42974/7 "2023-12-04T10:48:26Z")

</div>

indeed, I’m using Windows 🙂  
I’ll just be patient and wait for the fix? Any ETA or is it not clear yet?

---

<div class="post-metadata">

**Author:** ![SarahFaustmann](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@SarahFaustmann](https://community.dynatrace.com/u/SarahFaustmann)\
**Post date:** [December 6, 2023, 8:57am UTC](https://community.dynatrace.com/t/problem-with-using-custom-css-file/42974/8 "2023-12-06T08:57:08Z")

</div>

Hi&nbsp;[@michiel\_otten](https://community.dynatrace.com/user/4669),

There is currently no ETA for this issue. We’ve forwarded the info to the concerned team, and a fix will be included in an update as soon as possible. Thank you for your patience. 🙂

Best,  
Sarah
