From ac16d3e593c9964a8a206134ef88456eae4770c6 Mon Sep 17 00:00:00 2001 From: Jacob Rief Date: Tue, 15 Oct 2024 12:57:58 +0200 Subject: [PATCH 1/2] fix #7984: Improve UX when page content is missing in selected language --- cms/static/cms/sass/components/pagetree/_tree.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cms/static/cms/sass/components/pagetree/_tree.scss b/cms/static/cms/sass/components/pagetree/_tree.scss index e67d1542555..d3dc3a93b9a 100644 --- a/cms/static/cms/sass/components/pagetree/_tree.scss +++ b/cms/static/cms/sass/components/pagetree/_tree.scss @@ -871,7 +871,7 @@ display: block; cursor: move; outline: none; - color: $gray; + color: $gray-darkest; // we need to add one pixel in to negate the negative margin // value to get the borders to work visually height: $pagetree-cell-height + 1; @@ -896,6 +896,10 @@ // no direct logical property for background-position background-position: calc(100% - 2px) center; } + + em { + color: $gray-light; + } } .jstree-node[data-move-permission="false"] > .jstree-anchor { From 4914e3af4fbe90c19c48bf14da2e516a5af9cbbb Mon Sep 17 00:00:00 2001 From: Fabian Braun Date: Wed, 16 Oct 2024 08:12:08 +0200 Subject: [PATCH 2/2] Fix add page button for empty page tree --- cms/static/cms/sass/components/pagetree/_tree.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/static/cms/sass/components/pagetree/_tree.scss b/cms/static/cms/sass/components/pagetree/_tree.scss index d3dc3a93b9a..c92c53104e5 100644 --- a/cms/static/cms/sass/components/pagetree/_tree.scss +++ b/cms/static/cms/sass/components/pagetree/_tree.scss @@ -704,7 +704,7 @@ padding-inline: $pagetree-header-padding-inline; border-block-start: none; .addlink { - padding-inline-start: 0; + padding-inline-start: 16px; } }