Merge pull request #2597 from Budibase/fix-left-nav
Small fixes for navigation bar
This commit is contained in:
commit
67b12b61bd
|
@ -2,7 +2,7 @@
|
||||||
import { themeStore } from "stores"
|
import { themeStore } from "stores"
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div style={$themeStore.customThemeCss}>
|
<div style={$themeStore.customThemeCss} id="theme-root">
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -62,7 +62,7 @@
|
||||||
<div
|
<div
|
||||||
class="layout layout--{typeClass}"
|
class="layout layout--{typeClass}"
|
||||||
use:styleable={$component.styles}
|
use:styleable={$component.styles}
|
||||||
class:desktop={!$context.device.mobile && !$context.device.tablet}
|
class:desktop={!$context.device.mobile}
|
||||||
class:mobile={!!$context.device.mobile}
|
class:mobile={!!$context.device.mobile}
|
||||||
>
|
>
|
||||||
{#if typeClass !== "none"}
|
{#if typeClass !== "none"}
|
||||||
|
@ -301,6 +301,9 @@
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
.desktop.layout--left .nav-wrapper {
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
.desktop.layout--left .main-wrapper {
|
.desktop.layout--left .main-wrapper {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
disabled={fieldState.disabled}
|
disabled={fieldState.disabled}
|
||||||
error={fieldState.error}
|
error={fieldState.error}
|
||||||
id={fieldState.fieldId}
|
id={fieldState.fieldId}
|
||||||
appendTo={document.getElementById("app-root")}
|
appendTo={document.getElementById("theme-root")}
|
||||||
{enableTime}
|
{enableTime}
|
||||||
{placeholder}
|
{placeholder}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue