aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocumentDecorations.tsx
diff options
context:
space:
mode:
authorIEatChili <nanunguyen99@gmail.com>2024-07-30 14:30:08 -0400
committerIEatChili <nanunguyen99@gmail.com>2024-07-30 14:30:08 -0400
commit6cf715a76dfb3f6a80fbf7c33e643681ea1a584c (patch)
treebc8ef7b1162bf8225604c7f9ab63e9b7777eef31 /src/client/views/DocumentDecorations.tsx
parent732a00ddba502e3692fde374554c2ed394d275e4 (diff)
feat: adjusted ui:
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r--src/client/views/DocumentDecorations.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx
index dc40562e8..bd6952620 100644
--- a/src/client/views/DocumentDecorations.tsx
+++ b/src/client/views/DocumentDecorations.tsx
@@ -832,7 +832,7 @@ export class DocumentDecorations extends ObservableReactComponent<DocumentDecora
<div
className="link-button-container"
style={{
- top: `${doc[DocData].showLabels ? 4 + (doc._keywordHeight as number) : 4}px`,
+ top: `${doc[DocData].showLabels ? 4 + (doc[DocData].keywordHeight as number) : 4}px`,
transform: `translate(${-this._resizeBorderWidth / 2 + 10}px, ${this._resizeBorderWidth + bounds.b - bounds.y + this._titleHeight}px) `,
}}>
<DocumentButtonBar views={() => DocumentView.Selected()} />