@@ -1189,11 +1189,9 @@ onKeyStroke(
11891189 </div >
11901190 </section >
11911191 </section >
1192- <div class =" area-sidebar" >
1193- <!-- Sidebar -->
1194- <div
1195- class =" sidebar-scroll sticky top-34 space-y-6 sm:space-y-8 min-w-0 overflow-y-auto pe-2.5 lg:(max-h-[calc(100dvh-8.5rem)] overscroll-contain) xl:(top-22 pt-2 max-h-[calc(100dvh-6rem)])"
1196- >
1192+
1193+ <PackageSidebar class =" area-sidebar" >
1194+ <div class =" flex flex-col gap-4 sm:gap-6 xl:(pt-2)" >
11971195 <!-- Team access controls (for scoped packages when connected) -->
11981196 <ClientOnly >
11991197 <PackageAccessControls :package-name =" pkg.name" />
@@ -1253,7 +1251,7 @@ onKeyStroke(
12531251 <!-- Maintainers (with admin actions when connected) -->
12541252 <PackageMaintainers :package-name =" pkg.name" :maintainers =" pkg.maintainers" />
12551253 </div >
1256- </div >
1254+ </PackageSidebar >
12571255 </article >
12581256
12591257 <!-- Error state -->
@@ -1342,41 +1340,6 @@ onKeyStroke(
13421340 grid-area : sidebar;
13431341}
13441342
1345- /* Sidebar scrollbar: hidden by default, shown on hover/focus */
1346- @media (min-width : 1024px ) {
1347- .sidebar-scroll {
1348- scrollbar-gutter : stable;
1349- scrollbar-width : 8px ;
1350- scrollbar-color : transparent transparent ;
1351- }
1352-
1353- .sidebar-scroll ::-webkit-scrollbar {
1354- width : 8px ;
1355- height : 8px ;
1356- }
1357-
1358- .sidebar-scroll ::-webkit-scrollbar-track ,
1359- .sidebar-scroll ::-webkit-scrollbar-thumb {
1360- background : transparent ;
1361- }
1362-
1363- .sidebar-scroll :hover ,
1364- .sidebar-scroll :focus-within {
1365- scrollbar-color : var (--border ) transparent ;
1366- }
1367-
1368- .sidebar-scroll :hover ::-webkit-scrollbar-thumb ,
1369- .sidebar-scroll :focus-within ::-webkit-scrollbar-thumb {
1370- background-color : var (--border );
1371- border-radius : 9999px ;
1372- }
1373-
1374- .sidebar-scroll :hover ::-webkit-scrollbar-track ,
1375- .sidebar-scroll :focus-within ::-webkit-scrollbar-track {
1376- background : transparent ;
1377- }
1378- }
1379-
13801343/* Improve package name wrapping for narrow screens */
13811344.area-header h1 {
13821345 overflow-wrap : anywhere;
0 commit comments