Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 5 additions & 12 deletions src/lib/common/embedding/EmbeddingPage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import { derived } from 'svelte/store';
import { page } from '$app/stores';
import { _ } from 'svelte-i18n';
import { Card, CardBody, Col, Row } from '@sveltestrap/sveltestrap';
import { getUserStore, globalMenuStore } from '$lib/helpers/store';

/** @type {string} */
Expand Down Expand Up @@ -92,14 +91,8 @@
};
</script>

<Row>
<Col lg="12">
<Card>
<CardBody
id={`${htmlTagId}`}
style="padding: 0px; height: calc(100vh - 230px);"
>
</CardBody>
</Card>
</Col>
</Row>
<div
id={`${htmlTagId}`}
class="embedding-container"
>
</div>
9 changes: 9 additions & 0 deletions src/lib/scss/custom/pages/_agent.scss
Original file line number Diff line number Diff line change
Expand Up @@ -392,3 +392,12 @@
}
}
}

.embedding-container {
padding: 0px;
height: calc(100vh - #{$header-height} - #{$grid-gutter-width} - #{$footer-height});
width: calc(100% + #{$grid-gutter-width} * 2);
margin-left: calc(-1 * (#{$grid-gutter-width} * 0.75 + #{$grid-gutter-width} * 0.5));
margin-right: calc(-1 * (#{$grid-gutter-width} * 0.75 + #{$grid-gutter-width} * 0.5));
margin-bottom: calc(-1 * #{$footer-height});
}
2 changes: 1 addition & 1 deletion src/lib/scss/custom/structure/_topbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ body[data-layout="horizontal"] {
.page-content {
margin-top: $header-height;
padding: calc(55px + #{$grid-gutter-width}) calc(#{$grid-gutter-width} * 0.5) $footer-height calc(#{$grid-gutter-width} * 0.5);
}
}
}

@media (max-width: 992px) {
Expand Down