Skip to content

Commit e64871a

Browse files
committed
Remove unused chevron button modifier styles and tab transition properties
- remove &--chevron
1 parent fb0c8ce commit e64871a

2 files changed

Lines changed: 2 additions & 16 deletions

File tree

‎packages/ui/src/components/editor/common/prompts/PromptField/PromptField.module.scss‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -347,13 +347,6 @@
347347
}
348348
}
349349

350-
&--chevron {
351-
> span.codicon::before {
352-
font-size: 11px;
353-
transition: transform 0.2s ease-in-out;
354-
}
355-
}
356-
357350
&--toggled {
358351
transform: rotate(180deg);
359352
}
@@ -387,7 +380,6 @@
387380
font-weight: 500;
388381
gap: 4px;
389382
cursor: pointer;
390-
transition: all 0.1s ease-in-out;
391383
position: relative;
392384
opacity: var(--dimmed-opacity);
393385

‎packages/ui/src/components/editor/common/prompts/PromptField/PromptField.tsx‎

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -678,10 +678,7 @@ export const PromptField: React.FC<PromptFieldProps> = (props) => {
678678
)}
679679
<button
680680
ref={chevron_button_ref}
681-
className={cn(
682-
styles['footer__right__submit__button'],
683-
styles['footer__right__submit__button--chevron']
684-
)}
681+
className={styles['footer__right__submit__button']}
685682
onClick={() => {
686683
toggle_dropdown()
687684
}}
@@ -795,10 +792,7 @@ export const PromptField: React.FC<PromptFieldProps> = (props) => {
795792
/>
796793
<button
797794
ref={disconnected_chevron_button_ref}
798-
className={cn(
799-
styles['footer__right__submit__button'],
800-
styles['footer__right__submit__button--chevron']
801-
)}
795+
className={styles['footer__right__submit__button']}
802796
onClick={() => {
803797
toggle_dropdown()
804798
}}

0 commit comments

Comments
 (0)