File tree Expand file tree Collapse file tree
packages/ui/src/components/editor/prompt-view/CompactableActionButton Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 padding : 6px 4px ;
1212 }
1313
14- & __left {
14+ > div {
1515 display : flex ;
16- align-items : center ;
1716 gap : 4px ;
1817 }
1918
3332 background-color 0.25s ease ,
3433 color 0.25s ease ;
3534
36- & :focus {
37- outline : none ;
38- }
39-
4035 & :hover {
41- filter : brightness (1.08 );
42- text-decoration : none ;
36+ filter : brightness (0.85 );
4337 }
4438
4539 & --discord {
4640 background-color : #5865f2 ;
47- color : #ffffff ;
41+ color : white ;
4842
4943 > svg {
5044 width : 16px ;
5448
5549 & --donate {
5650 background-color : #ffdd00 ;
57- color : #000000 ;
58-
59- & :hover {
60- filter : brightness (0.95 );
61- }
51+ color : black ;
6252 }
6353
6454 & --alt {
7161 color 0.5s ease ;
7262 }
7363 }
74-
75- & __right {
76- display : flex ;
77- }
7864}
Original file line number Diff line number Diff line change @@ -45,10 +45,7 @@ export const Footer: React.FC<Props> = (props) => {
4545 onMouseEnter = { clear_leave_timeout }
4646 onMouseLeave = { handle_footer_mouse_leave }
4747 >
48- < div
49- className = { styles . footer__left }
50- onMouseEnter = { handle_left_mouse_enter }
51- >
48+ < div onMouseEnter = { handle_left_mouse_enter } >
5249 < a
5350 href = "https://discord.gg/KJySXsrSX5"
5451 className = { get_icon_button_class (
@@ -72,7 +69,7 @@ export const Footer: React.FC<Props> = (props) => {
7269 </ button >
7370 </ div >
7471
75- < div className = { styles . footer__right } >
72+ < div >
7673 < CompactableActionButton
7774 is_compact = { compact_step >= 2 }
7875 on_click = { props . on_history_click }
@@ -90,7 +87,7 @@ export const Footer: React.FC<Props> = (props) => {
9087 is_compact = { compact_step >= 3 }
9188 on_click = { on_commit_click }
9289 disabled = { ! has_changes_to_commit }
93- codicon = "git-commit "
90+ codicon = "source-control "
9491 label = { t ( 'footer.action.commit' ) }
9592 />
9693 < CompactableActionButton
Original file line number Diff line number Diff line change 77 height : var (--button-size );
88 padding : 0 6px 0 4px ;
99 border-radius : 4px ;
10+ border : 1px solid var (--cwc-border-color-dimmed );
1011 color : inherit ;
1112
1213 & :hover:not (:disabled ) {
1314 background-color : var (--vscode-toolbar-hoverBackground );
15+ border-color : var (--cwc-border-color );
1416 text-decoration : none ;
1517 }
1618
You can’t perform that action at this time.
0 commit comments