From 21ce16d3e0b5e217d9f111cc9bf576f2ba77fc5d Mon Sep 17 00:00:00 2001 From: David Ball Date: Mon, 24 Jun 2024 21:52:30 -0400 Subject: [PATCH] feat: Preliminary support for resizing iframes scrollable divs. --- app/views/directory.ejs | 8 ++++---- app/views/includes/bottom-scripts.ejs | 14 +++++++++++++- app/views/includes/common-head.ejs | 7 +++++-- assets/css/nm3clol.css | 4 +++- 4 files changed, 25 insertions(+), 8 deletions(-) diff --git a/app/views/directory.ejs b/app/views/directory.ejs index 62667901..641d04c7 100644 --- a/app/views/directory.ejs +++ b/app/views/directory.ejs @@ -49,7 +49,7 @@
<% if (h.isMsOfficeViewerSupported(h.readmeFm(directory).file)) { %>
- +
<% if (h.defaultViewerForFile(h.readmeFm(directory).file) != 'ms-office-viewer') { %> <% } %>
-
+

OCR Scan (approximately)

diff --git a/app/views/includes/bottom-scripts.ejs b/app/views/includes/bottom-scripts.ejs index 71577113..c2b1035b 100644 --- a/app/views/includes/bottom-scripts.ejs +++ b/app/views/includes/bottom-scripts.ejs @@ -2,4 +2,16 @@ - \ No newline at end of file + + diff --git a/app/views/includes/common-head.ejs b/app/views/includes/common-head.ejs index 64a86044..d895c89f 100644 --- a/app/views/includes/common-head.ejs +++ b/app/views/includes/common-head.ejs @@ -11,7 +11,7 @@ - + @@ -25,4 +25,7 @@ - + + + + \ No newline at end of file diff --git a/assets/css/nm3clol.css b/assets/css/nm3clol.css index 9d40d446..3201c742 100644 --- a/assets/css/nm3clol.css +++ b/assets/css/nm3clol.css @@ -320,4 +320,6 @@ tr.write-in td:first-child { .nmc3clol-navbar-brand { color: #f44336; } .daball-navbar-brand { color: #000; } .pt-1500 { padding-top: 150px;} -} \ No newline at end of file +} + +.ui-resizable-helper { border: 2px dotted #f44336; }