Skip to content

Commit 5b7796e

Browse files
authored
Merge pull request #14 from GetStream/attachment-refactor-compability
Attachment fix, edit action, modal layout fix
2 parents 66af422 + 4bda885 commit 5b7796e

4 files changed

Lines changed: 10 additions & 3 deletions

File tree

src/styles/Message.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,6 +708,11 @@
708708
position: relative;
709709
display: none;
710710
}
711+
712+
&--options.str-chat-angular__message-simple__actions__action--options--editing {
713+
position: relative;
714+
display: flex;
715+
}
711716
}
712717
}
713718

src/styles/MessageInputFlat.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@
192192
}
193193
}
194194

195-
.rfu-image-previewer {
195+
.rfu-image-previewer,
196+
.rfu-image-previewer-angular-host {
196197
flex: 1 1 100%;
197198

198199
&__image {

src/styles/Modal.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
.str-chat__modal {
2-
background: var(--black);
2+
background: var(--modal-overlay-color);
33
position: fixed;
44
top: 0;
55
left: 0;
66
width: 100%;
77
height: 100%;
88
z-index: 10000;
9-
opacity: 0.89;
109
display: none;
1110
align-items: center;
1211
justify-content: center;

src/styles/_variables.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,6 @@ $border-radius: 16px;
151151
--white: #ffffff;
152152
--white-smoke: #f2f2f2;
153153
--white-snow: #fcfcfc;
154+
155+
--modal-overlay-color: rgba(0, 0, 0, 0.89);
154156
}

0 commit comments

Comments
 (0)