diff --git a/src/front-end/scripts/views/story/actions.vue b/src/front-end/scripts/views/story/actions.vue
index 935e2eb..10c3712 100644
--- a/src/front-end/scripts/views/story/actions.vue
+++ b/src/front-end/scripts/views/story/actions.vue
@@ -3,6 +3,10 @@ import { defineComponent } from "vue";
const Actions = defineComponent({
methods: {
+ async copyUrl() {
+ await window.navigator.clipboard.writeText(window.location.href);
+ alert("The room URL has been copied to your clipboard!");
+ },
reveal() {
if (
this.$store.state.story.story?.owner !== this.$store.state.session.id &&
@@ -21,6 +25,12 @@ export default Actions;
+ -
+
+
-
+
+
diff --git a/src/front-end/styles/index.less b/src/front-end/styles/index.less
index 38b0cee..3a807fe 100644
--- a/src/front-end/styles/index.less
+++ b/src/front-end/styles/index.less
@@ -175,6 +175,10 @@ legend {
list-style-position: inside;
margin: 0;
padding: 0;
+
+ & li {
+ display: inline-block;
+ }
}
}