Skip to content

Commit d76f046

Browse files
committed
chore: move css properties to proper file
1 parent 4e16cbe commit d76f046

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,9 @@
130130
}
131131

132132
.str-chat__stop-generating-button {
133-
background-image: var(--str-chat__circle-stop-icon);
134133
width: calc(var(--str-chat__spacing-px) * 30);
135134
height: calc(var(--str-chat__spacing-px) * 28);
136135
cursor: pointer;
137-
background-color: transparent;
138-
border-width: 0;
139136
}
140137

141138
.str-chat__send-button {

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,10 @@
168168

169169
/* Box shadow applied to the cooldown timer */
170170
--str-chat__cooldown-box-shadow: none;
171-
171+
172172
/* Color applied to an icon in a button that opens attachment selector */
173173
--str-chat__attachment-selector-button-icon-color: var(--str-chat__text-low-emphasis-color);
174-
174+
175175
/* Color applied to an icon in a button that opens attachment selector when hovered over */
176176
--str-chat__attachment-selector-button-icon-color-hover: var(--str-chat__primary-color);
177177

@@ -221,6 +221,12 @@
221221
}
222222
}
223223

224+
.str-chat__stop-generating-button {
225+
background-image: var(--str-chat__circle-stop-icon);
226+
background-color: transparent;
227+
border-width: 0;
228+
}
229+
224230
.str-chat__send-button {
225231
--str-chat-icon-color: var(--str-chat__message-send-color);
226232
@include utils.component-layer-overrides('message-send');
@@ -342,4 +348,4 @@
342348
mask: var(--str-chat__poll-icon) no-repeat center / contain;
343349
}
344350
}
345-
}
351+
}

0 commit comments

Comments
 (0)