Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit d993b02

Browse files
committed
bring sidebar styles closer to core
1 parent 39653ae commit d993b02

File tree

1 file changed

+5
-10
lines changed
  • assets/stylesheets/modules/ai-bot-conversations

1 file changed

+5
-10
lines changed

assets/stylesheets/modules/ai-bot-conversations/common.scss

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,25 +39,20 @@ body.has-ai-conversations-sidebar {
3939
.sidebar-section-link.date-heading {
4040
pointer-events: none;
4141
cursor: default;
42-
color: var(--primary-medium);
43-
opacity: 0.8;
44-
font-weight: 700;
42+
color: var(--primary-500);
4543
margin-top: 1em;
46-
font-size: var(--font-down-2);
44+
font-size: var(--font-down-2-rem);
45+
text-transform: uppercase;
4746
}
4847

4948
.sidebar-section-link {
50-
height: unset;
51-
padding-block: 0.65em;
5249
font-size: var(--font-down-1);
53-
letter-spacing: 0.35px;
54-
border-radius: 0 var(--border-radius) var(--border-radius) 0;
5550

5651
.sidebar-section-link-content-text {
5752
white-space: normal;
5853
display: -webkit-box;
5954
-webkit-box-orient: vertical;
60-
-webkit-line-clamp: 2;
55+
-webkit-line-clamp: 1;
6156
overflow: hidden;
6257
}
6358
}
@@ -228,7 +223,7 @@ body.has-ai-conversations-sidebar {
228223
line-height: var(--line-height-medium);
229224

230225
// optical centering for layout balance
231-
@media screen and (min-height: 600px) {
226+
@media screen and (height >= 600px) {
232227
margin-top: -6em;
233228
}
234229
}

0 commit comments

Comments
 (0)