Skip to content

Commit c5419c8

Browse files
authored
Merge pull request #42 from GetStream/window-thread-update
Window thread update
2 parents 587c39c + 43ad69c commit c5419c8

2 files changed

Lines changed: 24 additions & 0 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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@ $emoji-flag-unicode-range: U+1F1E6-1F1FF;
143143
display: flex;
144144
flex-direction: column;
145145
flex: 1;
146+
147+
&--hideOnThread {
148+
display: none;
149+
}
146150
}
147151

148152
.rfu-dropzone {

0 commit comments

Comments
 (0)