Skip to content

Commit dac8d57

Browse files
authored
Merge pull request #437 from iceljc/legacy/svelte-4.x
remove footer for embbeding page
2 parents e51cd55 + 8888a76 commit dac8d57

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

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/stores';
44
import lodash 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 = '';
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={`${lodash.capitalize($page.params.embed || '')}`} />
14-
<Breadcrumb title="{$_('Agent')}" pagetitle="{$_(label || 'Agent')}" />
1519

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

0 commit comments

Comments
 (0)