1
0
Fork 0
mirror of synced 2024-07-07 23:35:49 +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" import { themeStore } from "stores"
</script> </script>
<div style={$themeStore.customThemeCss}> <div style={$themeStore.customThemeCss} id="theme-root">
<slot /> <slot />
</div> </div>

View file

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

View file

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