You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by dk...@apache.org on 2018/09/06 20:55:37 UTC

[sling-org-apache-sling-app-cms] branch master updated: Small UI tweaks to fix whitespace at the top of the editor and to make the color bar scroll across all page heights

This is an automated email from the ASF dual-hosted git repository.

dklco pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-app-cms.git


The following commit(s) were added to refs/heads/master by this push:
     new c226c13  Small UI tweaks to fix whitespace at the top of the editor and to make the color bar scroll across all page heights
c226c13 is described below

commit c226c13a4dd883a3fe02db33da8c75d5e561aed9
Author: Dan Klco <dk...@apache.org>
AuthorDate: Thu Sep 6 16:55:33 2018 -0400

    Small UI tweaks to fix whitespace at the top of the editor and to make
    the color bar scroll across all page heights
---
 ui/src/main/frontend/src/scss/cms.scss    | 3 ++-
 ui/src/main/frontend/src/scss/editor.scss | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ui/src/main/frontend/src/scss/cms.scss b/ui/src/main/frontend/src/scss/cms.scss
index f931bd9..e7eb656 100644
--- a/ui/src/main/frontend/src/scss/cms.scss
+++ b/ui/src/main/frontend/src/scss/cms.scss
@@ -22,9 +22,10 @@
 @import "../../node_modules/bulma/bulma.sass";
 @import "../../node_modules/datatables-bulma/css/dataTables.bulma.css";
 body.cms {
-	min-height: 100vh;
+	min-height: 100vmin;
 	@media screen and (min-width: $tablet), print {
 		background: url(../img/gradient.jpg) no-repeat;
+		background-attachment: fixed;
 	}
 	@media screen and (min-width: $tablet) and (max-width: $desktop - 1px) {
 		padding-left: 2em;
diff --git a/ui/src/main/frontend/src/scss/editor.scss b/ui/src/main/frontend/src/scss/editor.scss
index 7499b80..87261b0 100644
--- a/ui/src/main/frontend/src/scss/editor.scss
+++ b/ui/src/main/frontend/src/scss/editor.scss
@@ -45,7 +45,7 @@
 	}
 	.page-wrapper-frame {
 		position: fixed;
-		top: 45px;
+		top: 44px;
 		left: 0px;
 		bottom: 0px;
 		right: 0px;