forked from Github/safesupport-chatbox
add namespace to avoid css collistions
This commit is contained in:
parent
f3e46b62ab
commit
ebb06b3377
@ -99,6 +99,7 @@
|
|||||||
width: 400px;
|
width: 400px;
|
||||||
max-width: calc(100vw - 10px);
|
max-width: calc(100vw - 10px);
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
|
margin: 0;
|
||||||
animation-duration: 0.2s;
|
animation-duration: 0.2s;
|
||||||
animation-fill-mode: forwards;
|
animation-fill-mode: forwards;
|
||||||
|
|
||||||
|
@ -599,6 +599,7 @@ class ChatBox extends React.Component {
|
|||||||
const inputLabel = 'Send a message...'
|
const inputLabel = 'Send a message...'
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
<div id="safesupport">
|
||||||
<div className="docked-widget" role="complementary">
|
<div className="docked-widget" role="complementary">
|
||||||
<Transition in={opened} timeout={250} onExited={this.handleWidgetExit} onEntered={this.handleWidgetEnter}>
|
<Transition in={opened} timeout={250} onExited={this.handleWidgetExit} onEntered={this.handleWidgetEnter}>
|
||||||
{(status) => {
|
{(status) => {
|
||||||
@ -697,6 +698,7 @@ class ChatBox extends React.Component {
|
|||||||
{showDock && !roomId && <Dock handleToggleOpen={this.handleToggleOpen} />}
|
{showDock && !roomId && <Dock handleToggleOpen={this.handleToggleOpen} />}
|
||||||
{showDock && roomId && <Header handleToggleOpen={this.handleToggleOpen} opened={opened} handleExitChat={this.handleExitChat} />}
|
{showDock && roomId && <Header handleToggleOpen={this.handleToggleOpen} opened={opened} handleExitChat={this.handleExitChat} />}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
#safesupport {
|
||||||
@import "variables";
|
@import "variables";
|
||||||
@import "loader";
|
@import "loader";
|
||||||
@import "chat";
|
@import "chat";
|
||||||
@import "dark_mode";
|
@import "dark_mode";
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user