1
0
Fork 0
mirror of synced 2024-07-03 05:20:32 +12:00

Merge pull request #2597 from Budibase/fix-left-nav

Small fixes for navigation bar
This commit is contained in:
Andrew Kingston 2021-09-13 15:04:47 +01:00 committed by GitHub
commit 87aa4b18b1
3 changed files with 6 additions and 3 deletions

View file

@ -2,7 +2,7 @@
import { themeStore } from "stores"
</script>
<div style={$themeStore.customThemeCss}>
<div style={$themeStore.customThemeCss} id="theme-root">
<slot />
</div>

View file

@ -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;

View file

@ -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}
/>