mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-07-08 15:22:47 +00:00
bring sidebar styles closer to core
This commit is contained in:
parent
39653aed22
commit
d993b02975
@ -39,25 +39,20 @@ body.has-ai-conversations-sidebar {
|
||||
.sidebar-section-link.date-heading {
|
||||
pointer-events: none;
|
||||
cursor: default;
|
||||
color: var(--primary-medium);
|
||||
opacity: 0.8;
|
||||
font-weight: 700;
|
||||
color: var(--primary-500);
|
||||
margin-top: 1em;
|
||||
font-size: var(--font-down-2);
|
||||
font-size: var(--font-down-2-rem);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.sidebar-section-link {
|
||||
height: unset;
|
||||
padding-block: 0.65em;
|
||||
font-size: var(--font-down-1);
|
||||
letter-spacing: 0.35px;
|
||||
border-radius: 0 var(--border-radius) var(--border-radius) 0;
|
||||
|
||||
.sidebar-section-link-content-text {
|
||||
white-space: normal;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-line-clamp: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
@ -228,7 +223,7 @@ body.has-ai-conversations-sidebar {
|
||||
line-height: var(--line-height-medium);
|
||||
|
||||
// optical centering for layout balance
|
||||
@media screen and (min-height: 600px) {
|
||||
@media screen and (height >= 600px) {
|
||||
margin-top: -6em;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user