0

I tried all of these:

<ul className="overflow-y-auto bg-surface-50 rounded-b-lg  h-[calc(100vh_-_44px)] sm:h-fit ">
<ul className="overflow-y-auto bg-surface-50 rounded-b-lg  h-[calc(100vh-44px)] sm:h-fit ">

But when tailwind compiles, I still see no class h-[calc(100vh-44px)] and also no styling.

wruckie
  • 1,717
  • 1
  • 23
  • 34
سعيد
  • 1,547
  • 1
  • 14
  • 32

1 Answers1

2

So it turns out the extra space after sm:h-fit and before h-[calc(100vh_-_44px)] was the culprit. This fixed it - removing all unnecessary spaces:

<ul className="h-[calc(100vh_-_44px)] sm:h-fit overflow-y-auto bg-surface-50 rounded-b-lg">
kelsny
  • 23,009
  • 3
  • 19
  • 48
سعيد
  • 1,547
  • 1
  • 14
  • 32