+.modal #jot-sections {
+ max-height: calc(100vh - 22px);
+}
+@media (min-width: 768px) {
+ .modal #jot-sections {
+ max-height: calc(100vh - 62px);
+ }
+}
+#jot-modal #jot-sections,
+#jot-modal #jot-modal-body,
+#jot-modal #profile-jot-form,
+#jot-modal #profile-jot-wrapper,
+#jot-modal #jot-text-wrap,
+#jot-modal #jot-preview-content,
+#jot-modal #tread-wrapper--1,
+#jot-modal #item-Q0,
+#jot-modal #profile-jot-acl-wrapper,
+#jot-modal #acl-wrapper {
+ overflow: hidden;
+ display: flex;
+ flex: auto;
+ flex-direction: column;
+}