Skip to content

Commit 5e7d143

Browse files
authored
Merge pull request #43 from GetStream/develop
Publish develop changes to NPM
2 parents 993310e + cc9a012 commit 5e7d143

4 files changed

Lines changed: 30 additions & 13 deletions

File tree

src/styles/Thread.scss

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,15 @@
136136
padding-top: 0;
137137

138138
&.str-chat__thread--full {
139+
position: fixed;
140+
top: 0;
141+
right: 0;
142+
height: 100vh;
143+
background: var(--white);
144+
z-index: 1000;
139145
margin: 0;
146+
width: 100vw;
147+
max-width: 100%;
140148
}
141149

142150
.str-chat__gallery {
@@ -257,6 +265,18 @@
257265
.str-chat__thread {
258266
background: transparent;
259267

268+
&--full {
269+
position: fixed;
270+
top: 0;
271+
right: 0;
272+
height: 100vh;
273+
background: var(--white);
274+
z-index: 1000;
275+
margin: 0;
276+
width: 100vw;
277+
max-width: 100%;
278+
}
279+
260280
&-header {
261281
background: var(--white30);
262282
}

src/styles/_base.scss

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
@import url('https://fonts.googleapis.com/css?family=IBM+Plex+Sans:400,400i,700,700i');
2-
31
.str-chat {
42
box-sizing: border-box;
53

@@ -15,16 +13,6 @@
1513
clear: both;
1614
}
1715

18-
// button {
19-
// cursor: pointer;
20-
// background-color: transparent;
21-
// border: none;
22-
// padding: 0;
23-
// display: flex;
24-
// align-items: center;
25-
// width: auto;
26-
// }
27-
2816
.messenger-chat {
2917
&.str-chat {
3018
display: flex;
@@ -143,6 +131,10 @@ $emoji-flag-unicode-range: U+1F1E6-1F1FF;
143131
display: flex;
144132
flex-direction: column;
145133
flex: 1;
134+
135+
&--hideOnThread {
136+
display: none;
137+
}
146138
}
147139

148140
.rfu-dropzone {

src/styles/_variables.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
/* fonts */
2-
$main-font: 'IBM Plex Sans', sans-serif;
2+
/* https://systemfontstack.com/ */
3+
$system-stack-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu,
4+
Cantarell, 'Helvetica Neue', sans-serif;
5+
$main-font: #{$system-stack-font};
36
$second-font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
47

58
$base-font-weight: 400;

src/styles/vendor/react-file-utils.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@
139139
-webkit-box-pack: center;
140140
-ms-flex-pack: center;
141141
justify-content: center;
142+
border: none;
143+
background: transparent;
142144
}
143145
.rfu-icon-button svg {
144146
margin: 4px;

0 commit comments

Comments
 (0)