diff options
| author | aidahosa1 <aisosa_idahosa@brown.edu> | 2024-07-30 14:31:00 -0400 |
|---|---|---|
| committer | aidahosa1 <aisosa_idahosa@brown.edu> | 2024-07-30 14:31:00 -0400 |
| commit | de253f5acca34f20017895a2d8469b5ebd6032bf (patch) | |
| tree | e6198d61392518f8071335ee67fd466c0d7cf9dc /src/client/views/DocumentDecorations.tsx | |
| parent | 61bc1dd6df886e50fefb03e6477a9173d1d55907 (diff) | |
fight w css
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
| -rw-r--r-- | src/client/views/DocumentDecorations.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index dc40562e8..b5d819b97 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 || doc[DocData].showIconTags) ? 4 + (doc._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()} /> |
