mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 13:25:11 +00:00
Remove shadows from reference panel trigger icons
This commit is contained in:
@@ -69,7 +69,7 @@ function NotesContextReferenceCard(props: NotesContextReferenceCardProps) {
|
|||||||
<Card
|
<Card
|
||||||
onMouseEnter={() => setIsHovering(true)}
|
onMouseEnter={() => setIsHovering(true)}
|
||||||
onMouseLeave={() => setIsHovering(false)}
|
onMouseLeave={() => setIsHovering(false)}
|
||||||
className={`${props.showFullContent ? "w-auto bg-muted" : "w-auto"} overflow-hidden break-words text-balance rounded-lg border-none p-2`}
|
className={`${props.showFullContent ? "w-auto bg-muted" : "w-auto"} overflow-hidden break-words text-balance rounded-lg border-none p-2 shadow-none`}
|
||||||
>
|
>
|
||||||
{
|
{
|
||||||
!props.showFullContent ?
|
!props.showFullContent ?
|
||||||
@@ -212,7 +212,7 @@ function CodeContextReferenceCard(props: CodeContextReferenceCardProps) {
|
|||||||
<Card
|
<Card
|
||||||
onMouseEnter={() => setIsHovering(true)}
|
onMouseEnter={() => setIsHovering(true)}
|
||||||
onMouseLeave={() => setIsHovering(false)}
|
onMouseLeave={() => setIsHovering(false)}
|
||||||
className={`${props.showFullContent ? "w-auto bg-muted" : "w-auto"} overflow-hidden break-words text-balance rounded-lg border-none p-2`}
|
className={`${props.showFullContent ? "w-auto bg-muted" : "w-auto"} overflow-hidden break-words text-balance rounded-lg border-none p-2 shadow-none`}
|
||||||
>
|
>
|
||||||
{
|
{
|
||||||
!props.showFullContent ?
|
!props.showFullContent ?
|
||||||
@@ -312,7 +312,7 @@ function GenericOnlineReferenceCard(props: OnlineReferenceCardProps) {
|
|||||||
<Card
|
<Card
|
||||||
onMouseEnter={handleMouseEnter}
|
onMouseEnter={handleMouseEnter}
|
||||||
onMouseLeave={handleMouseLeave}
|
onMouseLeave={handleMouseLeave}
|
||||||
className={`${props.showFullContent ? "w-auto bg-muted" : "w-auto"} overflow-hidden break-words text-balance rounded-lg border-none p-2`}
|
className={`${props.showFullContent ? "w-auto bg-muted" : "w-auto"} overflow-hidden break-words text-balance rounded-lg border-none p-2 shadow-none`}
|
||||||
>
|
>
|
||||||
{
|
{
|
||||||
!props.showFullContent ?
|
!props.showFullContent ?
|
||||||
@@ -534,8 +534,6 @@ function SimpleIcon(props: SimpleIconProps) {
|
|||||||
symbol = null;
|
symbol = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("symbol", symbol);
|
|
||||||
|
|
||||||
if (!symbol) {
|
if (!symbol) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user