Compare commits

...

5 Commits

Author SHA1 Message Date
dependabot[bot]
aa61e453db Bump path-parse from 1.0.6 to 1.0.7
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-12 10:00:33 +00:00
Sharon Kennedy
569a8e76c2 1.1.5 2020-05-26 10:43:14 -04:00
Sharon Kennedy
b76eebcacb remove rem font size in dark mode 2020-05-26 10:42:53 -04:00
Sharon Kennedy
c592253707 1.1.4 2020-05-26 09:22:40 -04:00
Sharon Kennedy
ebb06b3377 add namespace to avoid css collistions 2020-05-26 09:22:08 -04:00
6 changed files with 97 additions and 93 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "safesupport-chatbox", "name": "safesupport-chatbox",
"version": "1.1.3", "version": "1.1.5",
"description": "A secure and private embeddable chatbox that connects to Riot", "description": "A secure and private embeddable chatbox that connects to Riot",
"main": "dist/chatbox.js", "main": "dist/chatbox.js",
"scripts": { "scripts": {

View File

@@ -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;

View File

@@ -68,7 +68,6 @@
.message { .message {
&.from-bot { &.from-bot {
color: transparentize($light-text-color, 0.3); color: transparentize($light-text-color, 0.3);
font-size: 0.9rem;
} }
&.from-me { &.from-me {

View File

@@ -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>
); );
} }
}; };

View File

@@ -1,4 +1,6 @@
@import "variables"; #safesupport {
@import "loader"; @import "variables";
@import "chat"; @import "loader";
@import "dark_mode"; @import "chat";
@import "dark_mode";
}

View File

@@ -7738,9 +7738,9 @@ path-key@^3.0.0, path-key@^3.1.0:
integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==
path-parse@^1.0.6: path-parse@^1.0.6:
version "1.0.6" version "1.0.7"
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw== integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==
path-to-regexp@0.1.7: path-to-regexp@0.1.7:
version "0.1.7" version "0.1.7"