From 8bc755595dbe21cafb768efc3650b0b14d33f7df Mon Sep 17 00:00:00 2001 From: geireann Date: Sat, 31 Jul 2021 00:26:50 -0400 Subject: minor changes --- src/client/views/collections/CollectionLinearView.scss | 9 +++++---- src/client/views/collections/CollectionLinearView.tsx | 7 +++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/client/views/collections/CollectionLinearView.scss b/src/client/views/collections/CollectionLinearView.scss index dd1e1fbe8..86610ac20 100644 --- a/src/client/views/collections/CollectionLinearView.scss +++ b/src/client/views/collections/CollectionLinearView.scss @@ -21,12 +21,12 @@ .bottomPopup-background { background: $light-blue; - padding-right: 14px; + display: flex; height: 35; transform: translate3d(6px, 0px, 0px); - padding-top: 6.5px; - padding-bottom: 7px; - padding-left: 5px; + align-content: center; + justify-content: center; + align-items: center; } .bottomPopup-text { @@ -54,6 +54,7 @@ .bottomPopup-exit { display: inline; white-space: nowrap; + margin-right: 10px; padding-left: 8px; padding-right: 8px; vertical-align: middle; diff --git a/src/client/views/collections/CollectionLinearView.tsx b/src/client/views/collections/CollectionLinearView.tsx index 8d81471d0..52c836556 100644 --- a/src/client/views/collections/CollectionLinearView.tsx +++ b/src/client/views/collections/CollectionLinearView.tsx @@ -171,17 +171,16 @@ export class CollectionLinearView extends CollectionSubView(LinearDocument) { }} onPointerDown={e => e.stopPropagation()} > - Creating link from: {DocumentLinksButton.AnnotationId ? "Annotation in " : " "} {StrCast(DocumentLinksButton.StartLink.title).length < 51 ? DocumentLinksButton.StartLink.title : StrCast(DocumentLinksButton.StartLink.title).slice(0, 50) + '...'} + Creating link from: {DocumentLinksButton.AnnotationId ? "Annotation in " : " "} {StrCast(DocumentLinksButton.StartLink.title).length < 51 ? DocumentLinksButton.StartLink.title : StrCast(DocumentLinksButton.StartLink.title).slice(0, 50) + '...'} -
{LinkDescriptionPopup.showDescriptions ? "Turn off description pop-up" : - "Turn on description pop-up"}
} placement="top"> +
{"Toggle description pop-up"}
} placement="top"> Labels: {LinkDescriptionPopup.showDescriptions ? LinkDescriptionPopup.showDescriptions : "ON"}
-
Exit link clicking mode
} placement="top"> +
Exit linking mode
} placement="top"> Stop -- cgit v1.2.3-70-g09d2