diff --git a/client/src/components/highlights/HighlightSidebar.vue b/client/src/components/highlights/HighlightSidebar.vue
index acf95d3f..d69036e5 100644
--- a/client/src/components/highlights/HighlightSidebar.vue
+++ b/client/src/components/highlights/HighlightSidebar.vue
@@ -4,19 +4,47 @@
@@ -61,15 +89,24 @@ const Cross = defineAsyncComponent(() => import('@/components/icons/CrossIcon.vu
padding: var(--large-spacing) 0;
}
- &__section-title {
- font-family: var(--sans-serif-font-family);
- font-weight: 600;
- font-size: var(--regular-font-size);
+ &__highlighted-text {
+ display: inline-block;
+ --num-lines: 3;
+ max-height: calc(var(--regular-font-size) * var(--paragraph-line-height) * var(--num-lines));
+ overflow: hidden;
+ text-overflow: ellipsis;
+ position: relative;
+ /* white-space: nowrap; */
+ &::after {
+ content: '...';
+ position: absolute;
+ right: 5px;
+ bottom: 0;
+ }
}
- &__highlighted-text {
- font-family: var(--serif-font-family);
- line-height: 1.5rem;
+ &__note-form {
+ min-height: 100px;
}
}