Skip to content

Commit af004f5

Browse files
committed
fix: add custom styles for embeddable renderer
1 parent 356f574 commit af004f5

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.custom-rendered-embeddable {
2+
height: 100%;
3+
width: 100%;
4+
position: absolute;
5+
z-index: 1;
6+
}

src/frontend/src/styles/index.scss

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,26 @@
44
@import './FeedbackButton.scss';
55
@import './DiscordButton.scss';
66
@import './MainMenuLabel.scss';
7+
@import './CustomRendererEmbeddable.scss';
8+
79
/* Override Excalidraw styles */
810

911
body {
1012
margin: 0;
1113
}
1214

15+
#root {
16+
height: 100%;
17+
width: 100%;
18+
position: absolute;
19+
z-index: 1;
20+
background-color: #111111;
21+
}
22+
1323
.excalidraw-wrapper {
14-
height: 100vh;
15-
position: relative;
24+
height: 100%;
25+
width: 100%;
26+
display: flex;
1627
z-index: 1;
1728
}
1829

0 commit comments

Comments
 (0)