Skip to content

Commit 4707208

Browse files
author
Jicheng Lu
committed
Merge branch 'main' of https://github.com/SciSharp/BotSharp-UI into refine/upgrade-to-5.x
2 parents 4e2c75e + dac8d57 commit 4707208

3 files changed

Lines changed: 7 additions & 16 deletions

File tree

package-lock.json

Lines changed: 0 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/scss/custom/pages/_agent.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@
434434

435435
.embedding-container {
436436
padding: 0px;
437-
height: calc(100vh - #{$header-height} - #{$grid-gutter-width} - #{$footer-height});
437+
height: calc(100vh - #{$header-height} - #{$grid-gutter-width} - 0.2 * #{$footer-height});
438438
width: calc(100% + #{$grid-gutter-width} * 2);
439439
margin-left: calc(-1 * (#{$grid-gutter-width} * 0.75 + #{$grid-gutter-width} * 0.5));
440440
margin-right: calc(-1 * (#{$grid-gutter-width} * 0.75 + #{$grid-gutter-width} * 0.5));

src/routes/page/agent/[embed]/[embedType]/+page.svelte

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,19 @@
33
import { page } from '$app/state';
44
import { capitalize } from 'lodash';
55
import HeadTitle from "$lib/common/shared/HeadTitle.svelte";
6-
import Breadcrumb from '$lib/common/shared/Breadcrumb.svelte';
76
import EmbeddingPage from '$lib/common/embedding/EmbeddingPage.svelte';
87
98
/** @type {string} */
109
let label = $state('');
1110
</script>
1211

12+
<svelte:head>
13+
<style>
14+
.footer { display: none !important; }
15+
</style>
16+
</svelte:head>
17+
1318
<HeadTitle title={$_(label || 'Agent')} addOn={`${capitalize(page.params.embed || '')}`} />
14-
<Breadcrumb title={$_('Agent')} pagetitle={$_(label || 'Agent')} />
1519

1620
<EmbeddingPage
1721
htmlTagId="agent-embed-content"

0 commit comments

Comments
 (0)