+
In bed we concocted our plans for the morrow. But to my surprise and no
small concern, Queequeg now gave me to understand, that he had been
diligently consulting Yojo—the name of his black little god—and Yojo had
@@ -33,8 +33,8 @@
-
-
+
+
In bed we concocted our plans for the morrow. But to my surprise and no
small concern, Queequeg now gave me to understand, that he had been
diligently consulting Yojo—the name of his black little god—and Yojo had
diff --git a/src/lib/components/notes/Note.svelte b/src/lib/components/notes/Note.svelte
index aa82bfb19..5463ac3d4 100644
--- a/src/lib/components/notes/Note.svelte
+++ b/src/lib/components/notes/Note.svelte
@@ -102,7 +102,12 @@
{#if !embed && shareNoteOpen}
- (shareNoteOpen = false)}>
+ (shareNoteOpen = false)}
+ fillViewport
+ maxWidth="66rem"
+ maxHeight="80vh"
+ >
{$_("dialog.share")}
diff --git a/src/lib/components/sidebar/DocumentActions.svelte b/src/lib/components/sidebar/DocumentActions.svelte
index 5d238fb90..53d53d566 100644
--- a/src/lib/components/sidebar/DocumentActions.svelte
+++ b/src/lib/components/sidebar/DocumentActions.svelte
@@ -167,7 +167,12 @@ Most actual actions are deferred to their own forms, so this is more of a switch
{#if visible}
-
+
{$_(labels[visible])}
{#if visible === "share"}
diff --git a/src/lib/components/sidebar/Documents.svelte b/src/lib/components/sidebar/Documents.svelte
index f59856248..d4f4b53c9 100644
--- a/src/lib/components/sidebar/Documents.svelte
+++ b/src/lib/components/sidebar/Documents.svelte
@@ -97,8 +97,8 @@
{/if}
-
+
{$_("documents.publicDocuments")}
-
\ No newline at end of file
+
diff --git a/src/lib/components/sidebar/ViewerActions.svelte b/src/lib/components/sidebar/ViewerActions.svelte
index c0274a93e..342212011 100644
--- a/src/lib/components/sidebar/ViewerActions.svelte
+++ b/src/lib/components/sidebar/ViewerActions.svelte
@@ -149,7 +149,12 @@
{#if visible}
-
+
{$_(labels[visible])}
{#if visible === "revisions"}
diff --git a/src/lib/components/viewer/PageActions.svelte b/src/lib/components/viewer/PageActions.svelte
index 01912719f..45ee91e89 100644
--- a/src/lib/components/viewer/PageActions.svelte
+++ b/src/lib/components/viewer/PageActions.svelte
@@ -103,7 +103,12 @@
{#if pageShareOpen}
- (pageShareOpen = false)}>
+ (pageShareOpen = false)}
+ fillViewport
+ maxWidth="90vw"
+ maxHeight="80vh"
+ >
{$_("dialog.share")}
diff --git a/src/style/kit.css b/src/style/kit.css
index b3afc9587..2b0535de4 100644
--- a/src/style/kit.css
+++ b/src/style/kit.css
@@ -218,6 +218,20 @@ hr.divider {
box-shadow: 0px 2px 4px 2px var(--shadow-1, rgba(30, 48, 56, 0.15));
}
+/* Modal Form Utilities */
+.modal-form {
+ width: 100%;
+ padding: 1rem;
+}
+
+.modal-form--flex {
+ display: flex;
+ flex-direction: column;
+ gap: 0.75rem;
+ width: 100%;
+ padding: 1rem;
+}
+
@keyframes spin {
0% {
transform: rotate(0deg);