File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ export default function Annotation({
44
44
if ( isEditing && ! readonly ) {
45
45
return (
46
46
< div className = "group relative" >
47
- < div className = "flex items-start gap-4 p-4 bg-background dark:bg-card border border-border rounded-xl shadow-sm" >
47
+ < div className = "flex items-start gap-4 px-4 py-3 bg-background dark:bg-card border border-border rounded-xl shadow-sm" >
48
48
{ /* Avatar */ }
49
49
< div className = { `w-8 h-8 rounded-full flex items-center justify-center flex-shrink-0 ${ isAI
50
50
? 'bg-blue-200 dark:bg-blue-800'
@@ -105,7 +105,7 @@ export default function Annotation({
105
105
onMouseEnter = { ( ) => setIsHovered ( true ) }
106
106
onMouseLeave = { ( ) => setIsHovered ( false ) }
107
107
>
108
- < div className = "relative flex items-start gap-4 p-4 rounded-xl border bg-background dark:bg-card border-border hover:border-border/80 dark:hover:border-border hover:shadow-sm dark:hover:shadow-lg transition-all duration-300" >
108
+ < div className = "relative flex items-start gap-4 px-4 py-3 rounded-xl border bg-background dark:bg-card border-border hover:border-border/80 dark:hover:border-border hover:shadow-sm dark:hover:shadow-lg transition-all duration-300" >
109
109
110
110
{ /* Avatar */ }
111
111
< div className = "relative" >
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ function HighlightThread({
130
130
131
131
return (
132
132
< Card
133
- className = { `transition-colors cursor-pointer rounded-lg p -2 ${ activeBgColor } ` }
133
+ className = { `transition-colors cursor-pointer rounded-lg px -2 ${ activeBgColor } ` }
134
134
onClick = { onClick }
135
135
>
136
136
< CardContent className = "p-0" >
@@ -214,7 +214,7 @@ function AnnotationsToolbar({
214
214
readonly,
215
215
} : AnnotationsToolbarProps ) {
216
216
return (
217
- < div className = "flex items-center gap-3 p -3 border-b border-border bg-muted/20" >
217
+ < div className = "flex items-center gap-3 px -3 border-b border-border bg-muted/20" >
218
218
< Select value = { selectedHighlightType } onValueChange = { onHighlightTypeFilter } >
219
219
< SelectTrigger className = "w-[140px] h-8" >
220
220
< SelectValue placeholder = "All types" />
@@ -340,7 +340,7 @@ export function AnnotationsView(
340
340
341
341
if ( sortedHighlights . length === 0 ) {
342
342
return (
343
- < div className = "flex flex-col gap-4 p-4 text-center" >
343
+ < div className = "flex flex-col gap-4 text-center" >
344
344
< p className = "text-secondary-foreground text-sm" >
345
345
{ readonly ? "There are no annotations for this paper." : "Highlight text in the document to begin annotating." }
346
346
</ p >
Original file line number Diff line number Diff line change @@ -815,7 +815,7 @@ export function SidePanelContent({
815
815
< div className = "flex-grow h-full overflow-hidden" >
816
816
{
817
817
rightSideFunction === 'Notes' && (
818
- < div className = 'p-2 w-full h-full flex flex-col' >
818
+ < div className = 'p-4 w-full h-full flex flex-col' >
819
819
< div className = "flex justify-between items-center mb-2 flex-shrink-0" >
820
820
< div className = "flex items-center gap-2" >
821
821
< TooltipProvider >
@@ -890,7 +890,7 @@ export function SidePanelContent({
890
890
}
891
891
{
892
892
rightSideFunction === 'Annotations' && user && (
893
- < div className = { `flex flex-col ${ heightClass } md:px-2 overflow-y-auto` } >
893
+ < div className = { `flex flex-col ${ heightClass } overflow-y-auto` } >
894
894
< AnnotationsView
895
895
annotations = { annotations }
896
896
highlights = { highlights }
You can’t perform that action at this time.
0 commit comments