Skip to content

Commit 8caf5d5

Browse files
authored
feat: add styles for replies sent to channel (#336)
1 parent 8dbb204 commit 8caf5d5

File tree

4 files changed

+34
-2
lines changed

4 files changed

+34
-2
lines changed

src/v2/styles/Message/Message-layout.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,8 @@
260260
}
261261
}
262262

263-
.str-chat__message-replies-count-button-wrapper {
263+
.str-chat__message-replies-count-button-wrapper,
264+
.str-chat__message-is-thread-reply-button-wrapper {
264265
grid-area: replies;
265266

266267
button {

src/v2/styles/Message/Message-theme.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,8 @@
344344
}
345345
}
346346

347-
.str-chat__message-replies-count-button-wrapper {
347+
.str-chat__message-replies-count-button-wrapper,
348+
.str-chat__message-is-thread-reply-button-wrapper {
348349
button {
349350
border: none;
350351
background-color: transparent;

src/v2/styles/MessageInput/MessageInput-layout.scss

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,3 +239,22 @@
239239
min-width: 300px;
240240
padding-block: 0.5rem;
241241
}
242+
243+
.str-chat__send-to-channel-checkbox__container {
244+
width: 100%;
245+
display: flex;
246+
padding: 0.5rem 0.75rem;
247+
248+
.str-chat__send-to-channel-checkbox__field {
249+
display: flex;
250+
align-items: center;
251+
252+
label {
253+
padding-inline: 0.5rem;
254+
}
255+
256+
input {
257+
margin: 0;
258+
}
259+
}
260+
}

src/v2/styles/MessageInput/MessageInput-theme.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,3 +338,14 @@
338338
}
339339
}
340340
}
341+
342+
.str-chat__send-to-channel-checkbox__field {
343+
* {
344+
cursor: pointer;
345+
}
346+
347+
label {
348+
color: var(--str-chat__text-low-emphasis-color);
349+
font: var(--str-chat__body-text);
350+
}
351+
}

0 commit comments

Comments
 (0)