Browse Source
Merge pull request #1969 from Budibase/empty-layout-tweaks
Empty layout tweaks
gh-pages
Andrew Kingston
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
8 additions and
1 deletions
-
packages/standard-components/manifest.json
-
packages/standard-components/src/Layout.svelte
|
|
|
@ -31,7 +31,7 @@ |
|
|
|
"type": "select", |
|
|
|
"label": "Width", |
|
|
|
"key": "width", |
|
|
|
"options": ["Small", "Medium", "Large"], |
|
|
|
"options": ["Small", "Medium", "Large", "Max"], |
|
|
|
"defaultValue": "Large" |
|
|
|
}, |
|
|
|
{ |
|
|
|
|
|
|
|
@ -20,6 +20,7 @@ |
|
|
|
None: "none", |
|
|
|
} |
|
|
|
const widthClasses = { |
|
|
|
Max: "max", |
|
|
|
Large: "l", |
|
|
|
Medium: "m", |
|
|
|
Small: "s", |
|
|
|
@ -178,6 +179,9 @@ |
|
|
|
position: relative; |
|
|
|
padding: 32px; |
|
|
|
} |
|
|
|
.layout--none .main { |
|
|
|
padding: 0; |
|
|
|
} |
|
|
|
.size--s { |
|
|
|
width: 800px; |
|
|
|
} |
|
|
|
@ -187,6 +191,9 @@ |
|
|
|
.size--l { |
|
|
|
width: 1400px; |
|
|
|
} |
|
|
|
.size--max { |
|
|
|
width: 100%; |
|
|
|
} |
|
|
|
|
|
|
|
/* Nav components */ |
|
|
|
.burger { |
|
|
|
|