diff --git a/src/lib/components/DownloadSelector.svelte b/src/lib/components/DownloadSelector.svelte
index 9cca68c34..d30dda4cf 100644
--- a/src/lib/components/DownloadSelector.svelte
+++ b/src/lib/components/DownloadSelector.svelte
@@ -4,7 +4,7 @@ A component for verse-on-image providing a dropdown where you can choose to down
-->
diff --git a/src/lib/components/ShareSelector.svelte b/src/lib/components/ShareSelector.svelte
new file mode 100644
index 000000000..e9491bd10
--- /dev/null
+++ b/src/lib/components/ShareSelector.svelte
@@ -0,0 +1,254 @@
+
+
+
+
+
+
+
+
shareSelectedText()}
+ >
+
+ {$t['Share_Text']}
+
+
shareAudio()}
+ >
+
+ {$t['Share_Audio']}
+
+
+
+
diff --git a/src/lib/components/TextAppearanceSelector.svelte b/src/lib/components/TextAppearanceSelector.svelte
index d56f9b5bd..e802a17be 100644
--- a/src/lib/components/TextAppearanceSelector.svelte
+++ b/src/lib/components/TextAppearanceSelector.svelte
@@ -35,6 +35,7 @@ The navbar component. We have sliders that update reactively to both font size a
contentsFontSize,
currentFont,
fontChoices,
+ getPositioningCSS,
language,
languages,
modal,
@@ -67,11 +68,7 @@ The navbar component. We have sliders that update reactively to both font size a
const contentsMode = $derived(options?.contentsMode ?? false);
//The positioningCSS positions the modal 1rem below the navbar and 1rem from the right edge of the screen (on mobile it will be centered)
- const positioningCSS = $derived(
- 'position:absolute; top:' +
- (Number(vertOffset.replace('rem', '')) + 1) +
- 'rem; inset-inline-end:1rem;'
- );
+ const positioningCSS = $derived(getPositioningCSS(vertOffset, 'top'));
const barColor = $derived($themeColors['SliderBarColor']);
const progressColor = $derived($themeColors['SliderProgressColor']);
const _showFontSize = showFontSize();
diff --git a/src/lib/components/TextSelectionToolbar.svelte b/src/lib/components/TextSelectionToolbar.svelte
index 9b4670b93..dde0c79d9 100644
--- a/src/lib/components/TextSelectionToolbar.svelte
+++ b/src/lib/components/TextSelectionToolbar.svelte
@@ -2,25 +2,17 @@
@component
Taken from modifying a copy of the AudioBar.svelte file
Enables users to copy, highlight, bookmark, share, and annotate selected verses.
-TODO:
-- Implement functionality for
- -> Share
- -> Play
- -> Play Repeat
- -> Verse On Image
-- Add note dialog
-- Add highlight colors
-->