From 9ef85d5062a02a3700b14061e3de8d8e3d400515 Mon Sep 17 00:00:00 2001 From: Chris Amico Date: Thu, 1 Feb 2024 10:05:19 -0500 Subject: [PATCH] Remove more components --- src/config/staging.js | 2 +- src/pages/app/Document.svelte | 29 ++++++++++++++--------------- src/style/global.css | 5 +++++ 3 files changed, 20 insertions(+), 16 deletions(-) diff --git a/src/config/staging.js b/src/config/staging.js index 7cec1f875..b87cbde6c 100644 --- a/src/config/staging.js +++ b/src/config/staging.js @@ -1,5 +1,5 @@ export const DC_BASE = "https://api.muckcloud.com"; -export const APP_URL = "https://muckcloud.com"; +export const APP_URL = "https://muckcloud.com/"; export const EMBED_URL = "https://muckcloud.com"; export const SQUARELET_BASE = "https://squarelet-staging.herokuapp.com"; export const STAFF_ONLY_S3_URL = diff --git a/src/pages/app/Document.svelte b/src/pages/app/Document.svelte index 36520c7e2..b3ec615ac 100644 --- a/src/pages/app/Document.svelte +++ b/src/pages/app/Document.svelte @@ -7,7 +7,6 @@ import Image from "@/common/Image.svelte"; import Progress from "@/common/Progress.svelte"; import HtmlField from "@/common/HtmlField.svelte"; - import Link from "@/router/Link.svelte"; import DocumentThumbnail from "./DocumentThumbnail.svelte"; import Annotation from "@/pages/viewer/Annotation.svelte"; @@ -145,13 +144,13 @@ {#if !embed}
{#if document.viewable} - - - + + + {#if document.readable}
{$_("document.updating")} - +
{/if} {:else if document.pending} @@ -181,21 +180,21 @@ {#if document.projectIds != null} {#each document.projectIds as id} {#if $projects.projectsById[id] != null} - + - + {/if} {/each} {#each document.dataPoints as { key, value }} - + - + {/each} {#if document.dataPoints.length > 0 && document.editAccess}
@@ -291,7 +290,7 @@
{#each noteHighlights as highlight}
- + @@ -310,7 +309,7 @@ titlePassages={highlight.titlePassages} hlContent={highlight.hlContent} /> - +
{/each}
diff --git a/src/style/global.css b/src/style/global.css index 617688fb3..01baadf5f 100755 --- a/src/style/global.css +++ b/src/style/global.css @@ -102,6 +102,7 @@ details.dc summary { a { color: inherit; + cursor: pointer; text-decoration: inherit; } @@ -118,6 +119,10 @@ a.active .project:hover { opacity: 1; } +a.ib { + display: inline-block; +} + /* Mixins */ .document-cell { display: table-cell;