Skip to content

Commit

Permalink
add sentiment track block
Browse files Browse the repository at this point in the history
  • Loading branch information
nahbee10 committed Nov 13, 2024
1 parent b0eba88 commit a19f1a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/SentimentTracking/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function SentimentTracking({ analyticsSection }: { analyticsSecti

return (
<div>
<div>Helpful?</div>
<div className="Sentiment__question">Was this helpful?</div>
<TraceEvent
element={DocsSentiment.POSITIVE_SENTIMENT}
name={SharedEventName.SENTIMENT_SUBMITTED}
Expand Down
7 changes: 5 additions & 2 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,18 @@
}
}
.pagination-nav__link {
@apply !flex !flex-col !space-y-1 bg-light-accent-2 dark:bg-dark-accent-2 text-light-accent-1 dark:text-dark-accent-1 !rounded-lg !p-4 !border-0 !min-h-fit !h-auto;
@apply !flex !flex-col !space-y-1 bg-light-accent-2 dark:bg-dark-accent-2 hover:bg-light-accent-2-hovered hover:dark:bg-dark-accent-2-hovered text-light-accent-1 dark:text-dark-accent-1 !rounded-lg !p-4 !border-0 !min-h-fit !h-auto;
}
.pagination-nav__sublabel {
@apply text-light-accent-1 dark:text-dark-accent-1 !body-4;
}
.pagination-nav__label {
@apply !subheading-2;
@apply !subheading-2 !text-light-accent-1 dark:!text-dark-accent-1;
}
.pagination-nav__label::before,
.pagination-nav__label::after {
@apply !content-none;
}
.Sentiment__question {
@apply !mono-body-5;
}

0 comments on commit a19f1a0

Please sign in to comment.