aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-10-12 20:03:27 -0400
committerbobzel <zzzman@gmail.com>2024-10-12 20:03:27 -0400
commit645baa8d0c59fe575f8b41060126750aa3311391 (patch)
tree9b91991ad57944a827e272a0cf406875e5034dd9 /src
parent91ac58011296efa00cc081f239913174ce27113f (diff)
made tagsView fit Doc width.
Diffstat (limited to 'src')
-rw-r--r--src/client/views/TagsView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/TagsView.tsx b/src/client/views/TagsView.tsx
index 072cae3af..2615bc5fb 100644
--- a/src/client/views/TagsView.tsx
+++ b/src/client/views/TagsView.tsx
@@ -361,7 +361,7 @@ export class TagsView extends ObservableReactComponent<TagViewProps> {
display: SnappingManager.IsResizing === this.View.Document[Id] ? 'none' : undefined,
transformOrigin: 'top left',
maxWidth: `${100 * this.currentScale}%`,
- width: 'max-content',
+ width: `${100 * this.currentScale}%`,
transform: `scale(${1 / this.currentScale})`,
backgroundColor: this.isEditing ? Colors.LIGHT_GRAY : Colors.TRANSPARENT,
borderColor: this.isEditing ? Colors.BLACK : Colors.TRANSPARENT,