Skip to content

Commit 659853c

Browse files
committed
fix: user styles overriding our elements styling
1 parent d4a86c9 commit 659853c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,6 +1205,10 @@ function RemoteFunctions(config) {
12051205
</div>`;
12061206

12071207
const styles = `
1208+
:host {
1209+
all: initial;
1210+
}
1211+
12081212
.phoenix-more-options-box {
12091213
background-color: #4285F4;
12101214
color: white;
@@ -1463,6 +1467,10 @@ function RemoteFunctions(config) {
14631467
const leftPos = offset.left;
14641468

14651469
const styles = `
1470+
:host {
1471+
all: initial;
1472+
}
1473+
14661474
.phoenix-node-info-box {
14671475
background-color: #4285F4;
14681476
color: white;
@@ -1606,6 +1614,10 @@ function RemoteFunctions(config) {
16061614
}
16071615

16081616
const styles = `
1617+
:host {
1618+
all: initial;
1619+
}
1620+
16091621
.phoenix-ai-prompt-box {
16101622
position: absolute;
16111623
background: white;

0 commit comments

Comments
 (0)