From 620ea7cf0580c4d9839290451908397042fa9fcb Mon Sep 17 00:00:00 2001 From: Peng Xiao Date: Mon, 7 Nov 2022 14:56:07 +0800 Subject: [PATCH] fix: style issues fix #79 and https://github.com/logseq/logseq/issues/7228 --- src/_graph.scss | 3 +-- src/_views.scss | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/_graph.scss b/src/_graph.scss index 4ba78a6..de70d5d 100644 --- a/src/_graph.scss +++ b/src/_graph.scss @@ -1,9 +1,8 @@ -.cp__sidebar-main-content[data-is-global-graph-pages="true"] { +body[data-page=graph] .cp__sidebar-main-content { --graph-height: calc(100vh - var(--ct-header-height)); background: var(--ls-primary-background-color); max-height: var(--graph-height); - margin: -1rem; > div { padding: 0; diff --git a/src/_views.scss b/src/_views.scss index 94ab1ea..8851459 100644 --- a/src/_views.scss +++ b/src/_views.scss @@ -99,7 +99,6 @@ margin-top: 0; padding-top: 12px; padding-bottom: 12px; - height: calc(100% - var(--ct-header-height)); } .left-sidebar-inner a.item > span {