aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections
diff options
context:
space:
mode:
authoraidahosa1 <aisosa_idahosa@brown.edu>2024-07-30 14:31:00 -0400
committeraidahosa1 <aisosa_idahosa@brown.edu>2024-07-30 14:31:00 -0400
commitde253f5acca34f20017895a2d8469b5ebd6032bf (patch)
treee6198d61392518f8071335ee67fd466c0d7cf9dc /src/client/views/collections
parent61bc1dd6df886e50fefb03e6477a9173d1d55907 (diff)
fight w css
Diffstat (limited to 'src/client/views/collections')
-rw-r--r--src/client/views/collections/CollectionCardDeckView.scss50
-rw-r--r--src/client/views/collections/CollectionCardDeckView.tsx1
2 files changed, 26 insertions, 25 deletions
diff --git a/src/client/views/collections/CollectionCardDeckView.scss b/src/client/views/collections/CollectionCardDeckView.scss
index eb1b456f5..5869f89e1 100644
--- a/src/client/views/collections/CollectionCardDeckView.scss
+++ b/src/client/views/collections/CollectionCardDeckView.scss
@@ -22,32 +22,32 @@
transition: transform 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
-.card-button-container {
- display: flex;
- padding: 3px;
- // width: 300px;
- // height:100px;
- pointer-events: none; /* This ensures the container does not capture hover events */
-
- background-color: rgb(218, 218, 218); /* Background color of the container */
- border-radius: 50px; /* Rounds the corners of the container */
- transform: translateY(25px);
- // box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Optional: Adds shadow for depth */
- align-items: center; /* Centers buttons vertically */
- justify-content: start; /* Centers buttons horizontally */
-
- button {
- pointer-events: auto; /* Re-enable pointer events for the buttons */
+// .card-button-container {
+// display: flex;
+// padding: 3px;
+// // width: 300px;
+// // height:100px;
+// pointer-events: none; /* This ensures the container does not capture hover events */
+
+// background-color: rgb(218, 218, 218); /* Background color of the container */
+// border-radius: 50px; /* Rounds the corners of the container */
+// transform: translateY(25px);
+// // box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Optional: Adds shadow for depth */
+// align-items: center; /* Centers buttons vertically */
+// justify-content: start; /* Centers buttons horizontally */
+
+// button {
+// pointer-events: auto; /* Re-enable pointer events for the buttons */
- width: 70px;
- height: 70px;
- border-radius: 50%;
- background-color: $dark-gray;
- // border-color: $medium-blue;
- margin: 5px; // transform: translateY(-50px);
- background-color: transparent;
- }
-}
+// width: 70px;
+// height: 70px;
+// border-radius: 50%;
+// background-color: $dark-gray;
+// // border-color: $medium-blue;
+// margin: 5px; // transform: translateY(-50px);
+// background-color: transparent;
+// }
+// }
.no-card-span{
position: relative;
diff --git a/src/client/views/collections/CollectionCardDeckView.tsx b/src/client/views/collections/CollectionCardDeckView.tsx
index 410ddc355..736cc2354 100644
--- a/src/client/views/collections/CollectionCardDeckView.tsx
+++ b/src/client/views/collections/CollectionCardDeckView.tsx
@@ -446,6 +446,7 @@ export class CollectionCardView extends CollectionSubView() {
};
const docTextPromises = this.childDocsWithoutLinks.map(async doc => {
const docText = (await docToText(doc)) ?? '';
+ doc['gptInputText'] = docText
this._textToDoc.set(docText.replace(/\n/g, ' ').trim(), doc);
return `======${docText.replace(/\n/g, ' ').trim()}======`;
});