Skip to content

Commit

Permalink
Merge pull request #326 from abhinavkrin/fix/fullscreen-styling
Browse files Browse the repository at this point in the history
Fix/fullscreen styling
  • Loading branch information
abhinavkrin authored Nov 22, 2023
2 parents 6c8c109 + 8fb5ee0 commit 4010954
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
6 changes: 6 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @embeddedchat/react

## 0.1.9

### Patch Changes

- Fixed fullscreen styling

## 0.1.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@embeddedchat/react",
"version": "0.1.8",
"version": "0.1.9",
"description": "React component library for embedding Rocket.Chat in React applications, providing customizable and feature-rich chat interfaces with easy React integration.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
8 changes: 6 additions & 2 deletions packages/react/src/components/EmbeddedChat.styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { css } from '@emotion/react';

export const styles = {
embeddedchat: css`
background: #fff;
display: flex;
flex-direction: column;
overflow: hidden;
Expand All @@ -11,7 +12,10 @@ export const styles = {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
width: 100vw !important;
height: 100vh !important;
max-width: unset !important;
max-height: unset !important;
background: #fff;
`,
};

0 comments on commit 4010954

Please sign in to comment.