@@ -22,7 +22,7 @@ body.has-ai-conversations-sidebar {
2222 }
2323
2424 // ai related sidebar content
25- [data-section-name = " custom-messages " ] {
25+ [data-section-name = " ai-conversations-history " ] {
2626 .sidebar-section-header-wrapper {
2727 pointer-events : none ;
2828 font-size : var (--font-down-1 );
@@ -35,38 +35,28 @@ body.has-ai-conversations-sidebar {
3535 letter-spacing : 0.5px ;
3636 }
3737 }
38- }
39-
40- [data-link-name = " View All" ] {
41- align-content : stretch ;
42-
43- .sidebar-section-link-prefix.icon {
44- display : flex ;
45- font-size : var (--font-up-1 );
46- margin-left : -0.15em ;
47- }
48- }
4938
50- .sidebar-section-link-wrapper {
51- .sidebar-section-link {
52- height : unset ;
53- padding-block : 0.65em ;
54- font-size : var (--font-down-1 );
55- letter-spacing : 0.35px ;
56- border-radius : 0 var (--border-radius ) var (--border-radius ) 0 ;
57-
58- .sidebar-section-link-content-text {
59- white-space : normal ;
60- display : -webkit-box ;
61- -webkit-box-orient : vertical ;
62- -webkit-line-clamp : 2 ;
63- overflow : hidden ;
39+ .sidebar-section-link-wrapper {
40+ .sidebar-section-link {
41+ height : unset ;
42+ padding-block : 0.65em ;
43+ font-size : var (--font-down-1 );
44+ letter-spacing : 0.35px ;
45+ border-radius : 0 var (--border-radius ) var (--border-radius ) 0 ;
46+
47+ .sidebar-section-link-content-text {
48+ white-space : normal ;
49+ display : -webkit-box ;
50+ -webkit-box-orient : vertical ;
51+ -webkit-line-clamp : 2 ;
52+ overflow : hidden ;
53+ }
6454 }
6555 }
66- }
6756
68- .sidebar-section-link-prefix {
69- align-self : start ;
57+ .sidebar-section-link-prefix {
58+ align-self : start ;
59+ }
7060 }
7161 }
7262
@@ -205,14 +195,16 @@ body.has-ai-conversations-sidebar {
205195 }
206196
207197 // show toggle when populated
208- & :has (.sidebar-wrapper [data-section-name = " custom-messages " ]) {
198+ & :has (.sidebar-wrapper [data-section-name = " ai-conversations-history " ]) {
209199 .header-sidebar-toggle {
210200 display : block ;
211201 }
212202 }
213203
214204 // hide the sidebar on the homepage, if empty
215- #main-outlet-wrapper :not (:has ([data-section-name = " custom-messages" ])) {
205+ #main-outlet-wrapper :not (
206+ :has ([data-section-name = " ai-conversations-history" ])
207+ ) {
216208 grid-template-areas : " content" ;
217209 grid-template-columns : 1fr !important ;
218210
0 commit comments