Browse Source
Merge pull request #2597 from Budibase/fix-left-nav
Small fixes for navigation bar
gh-pages
Andrew Kingston
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
6 additions and
3 deletions
-
packages/client/src/components/CustomThemeWrapper.svelte
-
packages/client/src/components/app/Layout.svelte
-
packages/client/src/components/app/forms/DateTimeField.svelte
|
|
|
@ -2,7 +2,7 @@ |
|
|
|
import { themeStore } from "stores" |
|
|
|
</script> |
|
|
|
|
|
|
|
<div style={$themeStore.customThemeCss}> |
|
|
|
<div style={$themeStore.customThemeCss} id="theme-root"> |
|
|
|
<slot /> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
@ -62,7 +62,7 @@ |
|
|
|
<div |
|
|
|
class="layout layout--{typeClass}" |
|
|
|
use:styleable={$component.styles} |
|
|
|
class:desktop={!$context.device.mobile && !$context.device.tablet} |
|
|
|
class:desktop={!$context.device.mobile} |
|
|
|
class:mobile={!!$context.device.mobile} |
|
|
|
> |
|
|
|
{#if typeClass !== "none"} |
|
|
|
@ -301,6 +301,9 @@ |
|
|
|
flex-direction: row; |
|
|
|
overflow: hidden; |
|
|
|
} |
|
|
|
.desktop.layout--left .nav-wrapper { |
|
|
|
border-bottom: none; |
|
|
|
} |
|
|
|
.desktop.layout--left .main-wrapper { |
|
|
|
height: 100%; |
|
|
|
overflow: auto; |
|
|
|
|
|
|
|
@ -56,7 +56,7 @@ |
|
|
|
disabled={fieldState.disabled} |
|
|
|
error={fieldState.error} |
|
|
|
id={fieldState.fieldId} |
|
|
|
appendTo={document.getElementById("app-root")} |
|
|
|
appendTo={document.getElementById("theme-root")} |
|
|
|
{enableTime} |
|
|
|
{placeholder} |
|
|
|
/> |
|
|
|
|