Use Tailwind max-h for note detail

This commit is contained in:
Golwhit
2025-12-29 21:07:50 -06:00
parent 497c29ce14
commit da23cc8e3a
+1 -1
View File
@@ -83,7 +83,7 @@
</div>
<!-- Note Detail Container -->
<div id="noteDetailContainer" class="hidden flex flex-col bg-white rounded-2xl shadow-2xl max-w-4xl w-full p-6 gap-3 overflow-hidden mt-2.5" style="max-height: calc(100vh - 140px);">
<div id="noteDetailContainer" class="hidden flex flex-col bg-white rounded-2xl shadow-2xl max-w-4xl w-full p-6 gap-3 overflow-hidden mt-2.5 max-h-[calc(100vh-140px)]">
<div class="flex-shrink-0 flex items-center justify-between">
<div>
<div class="text-xs text-gray-500" id="noteDetailMeta"></div>