From 6d1f6c6f24375df531886f6ebbdf017c475ce95d Mon Sep 17 00:00:00 2001 From: Antonella Sgarlatta Date: Mon, 31 May 2021 18:57:49 -0300 Subject: [PATCH] fix: revert to using fixed margin when setting container width --- app/assets/javascripts/ui_models/app_state/active_note_state.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/ui_models/app_state/active_note_state.ts b/app/assets/javascripts/ui_models/app_state/active_note_state.ts index 521090f70..4fd33550c 100644 --- a/app/assets/javascripts/ui_models/app_state/active_note_state.ts +++ b/app/assets/javascripts/ui_models/app_state/active_note_state.ts @@ -86,7 +86,7 @@ export class ActiveNoteState { } reloadTagsContainerLayout(): void { - const MARGIN = this.tagsContainerExpanded ? 68 : 24; + const MARGIN = 72; const EDITOR_ELEMENT_ID = 'editor-column'; const { clientWidth } = document.documentElement; const editorPosition =