62
62
& .chat-modal-mobile {
63
63
@apply flex flex-col top-0 sm:top-[calc (40% -30vh )] pt-4 max-h-[100vh ] w-full sm:w-[90vw ] rounded-none sm:rounded-lg;
64
64
65
- & .docs {
65
+ & .docs , & . pdf {
66
66
@apply h-screen sm:h-auto;
67
67
}
68
68
71
71
}
72
72
}
73
73
74
- .trieve-elements-docs {
75
- @apply pr-2 scroll-smooth;
74
+ .trieve-elements-docs , . trieve-elements-pdf {
75
+ @apply scroll-smooth;
76
76
77
77
.item-group-container {
78
78
@apply border-b border-gray-300 mb-5;
@@ -98,12 +98,8 @@ body {
98
98
}
99
99
}
100
100
101
- .trieve-elements-pdf {
102
- @apply p-2;
103
- }
104
-
105
101
.pdf-results {
106
- @apply grid grid-cols-2 pl-2 ;
102
+ @apply grid grid-cols-2;
107
103
}
108
104
109
105
.no-results {
@@ -138,7 +134,7 @@ body {
138
134
.mode-switch-wrapper {
139
135
@apply flex items-center justify-end mt-2 absolute top-2.5 right-4 z-30 font-medium;
140
136
141
- & .docs .chat {
137
+ & .docs .chat , & . pdf . chat {
142
138
@apply top-0;
143
139
144
140
right : calc (max (calc (50% - 39.85rem ), 4rem ) + 0.25rem );
@@ -278,7 +274,7 @@ body {
278
274
}
279
275
280
276
.trieve-powered {
281
- @apply flex items-center justify-end select-none cursor-pointer text-sm text-center;
277
+ @apply flex items-center justify-end select-none cursor-pointer text-sm text-center gap-1 ;
282
278
background-color : var (--bg-color );
283
279
284
280
img {
@@ -757,14 +753,14 @@ body {
757
753
}
758
754
759
755
input {
760
- @apply rounded-none mb-0;
756
+ @apply rounded-md mb-0;
761
757
}
762
758
}
763
759
764
760
ul {
765
761
& : not (.chat-ul ) {
766
762
@apply overflow-y-auto overflow-x-hidden max-h-[calc (80 vh-130px)] sm:max-h-[calc (60 vh-130px)];
767
- & : not (.trieve-elements-docs ) {
763
+ & : not (.trieve-elements-docs , . trieve-elements-pdf ) {
768
764
@apply max-h-[calc (98 vh-130px)] sm:max-h-[calc (60 vh-130px)];
769
765
770
766
& : not (.commands ) & : not (.trieve-elements-ecommerce ) {
@@ -774,7 +770,7 @@ body {
774
770
}
775
771
776
772
& : not (.chat-ul ): not (.trieve-elements-ecommerce ) {
777
- @apply pl-0 mx-0;
773
+ @apply pl-2 pr-0.5 mx-0;
778
774
}
779
775
}
780
776
0 commit comments