fix stylesheets for canvas designer/preview

This commit is contained in:
Mads Rasmussen
2017-09-08 13:13:26 +02:00
parent 921e8a2529
commit 35fc997d9f
2 changed files with 5 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ function processJs(files, out) {
}
function processLess(files, out) {
var processors = [
autoprefixer,
cssnano
@@ -64,7 +64,7 @@ var sources = {
less: {
installer: { files: ["src/less/installer.less"], out: "installer.css" },
nonodes: { files: ["src/less/pages/nonodes.less"], out: "nonodes.style.min.css"},
preview: { files: ['src/less/canvas-designer.less', 'src/less/helveticons.less'], out: "canvasdesigner.css" },
preview: { files: ["src/less/canvas-designer.less"], out: "canvasdesigner.css" },
umbraco: { files: ["src/less/belle.less"], out: "umbraco.css" }
},

View File

@@ -1,4 +1,6 @@
@import "helveticons.less";
/******* font-face *******/
@font-face {
@@ -14,7 +16,7 @@ body {
overflow: hidden;
height: 100%;
width: 100%;
width: calc(100% - 80px); // 80px is the fixed left menu for toggling the different browser sizes
width: calc(~"100% - 80px"); // 80px is the fixed left menu for toggling the different browser sizes
position: absolute;
padding: 0;
margin: 0;