@@ -206,7 +206,7 @@ html {
206206}
207207.copilotKitInputContainer {
208208 width: 100%;
209- padding: 0 0 15px 0 ;
209+ padding: 0;
210210 background: var(--copilot-kit-background-color);
211211 border-bottom-left-radius: 0.75rem;
212212 border-bottom-right-radius: 0.75rem;
@@ -674,6 +674,26 @@ html {
674674.sendButton:hover {
675675 border-radius: 5px;
676676}
677+
678+ .poweredBy {
679+ visibility: visible !important;
680+ display: block !important;
681+ position: static !important;
682+ text-align: center !important;
683+ font-size: 12px !important;
684+ padding: 3px 0 !important;
685+ color: rgb(214, 214, 214) !important;
686+ margin: 0 !important;
687+ }
688+
689+ .dark,
690+ html.dark,
691+ body.dark,
692+ [data-theme="dark"],
693+ html[style*="color-scheme: dark"],
694+ body[style*="color-scheme: dark"] .poweredBy {
695+ color: rgb(69, 69, 69) !important;
696+ }
677697 ` }
678698 </ style >
679699 ) ;
@@ -717,6 +737,10 @@ export const handleMouseMove = (e: any) => {
717737 tooltip . innerHTML =
718738 "<b>--copilot-kit-separator-color</b>: Input box border color.<br/><br/><b>--copilot-kit-muted-color</b>: Placeholder color." ;
719739 return ;
740+ } else if ( element . classList . contains ( "poweredBy" ) ) {
741+ tooltip . innerHTML =
742+ `The "Powered by CopilotKit" watermark is removed automatically for Copilot Cloud users` ;
743+ return ;
720744 }
721745 element = element . parentElement ;
722746 }
@@ -820,6 +844,9 @@ export const InteractiveCSSInspector = () => {
820844 </ button >
821845 </ div >
822846 </ div >
847+ < p className = "poweredBy" >
848+ Powered by CopilotKit
849+ </ p >
823850 </ div >
824851 </ div >
825852 </ div >
0 commit comments