diff --git a/src/stylesheets/components/core/_core.scss b/src/stylesheets/components/core/_core.scss index a9a3708..b3c393e 100644 --- a/src/stylesheets/components/core/_core.scss +++ b/src/stylesheets/components/core/_core.scss @@ -321,8 +321,10 @@ $indent-width: 30; background-position: top 1px left; cursor: grab; @if $platform == 'zotero' { - // When reaching the max width, keep the drag handle attached to the editor edge - --drag-handle-max-width-inline-offset: calc((100% - var(--editor-max-inner-width)) / 2 - var(--drag-handle-width) - 4px); + @at-root [contentViewMode="comfortable"] & { + // When reaching the max width, keep the drag handle attached to the editor edge + --drag-handle-max-width-inline-offset: calc((100% - var(--editor-max-inner-width)) / 2 - var(--drag-handle-width) - 4px); + } } @else { --drag-handle-max-width-inline-offset: 0px;