@@ -1144,11 +1144,9 @@ onKeyStroke(
11441144 </div >
11451145 </section >
11461146 </section >
1147- <div class =" area-sidebar" >
1148- <!-- Sidebar -->
1149- <div
1150- 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)]) pt-1"
1151- >
1147+
1148+ <PackageSidebar class =" area-sidebar" >
1149+ <div class =" flex flex-col gap-4 sm:gap-6 xl:(pt-2)" >
11521150 <!-- Team access controls (for scoped packages when connected) -->
11531151 <ClientOnly >
11541152 <PackageAccessControls :package-name =" pkg.name" />
@@ -1208,7 +1206,7 @@ onKeyStroke(
12081206 <!-- Maintainers (with admin actions when connected) -->
12091207 <PackageMaintainers :package-name =" pkg.name" :maintainers =" pkg.maintainers" />
12101208 </div >
1211- </div >
1209+ </PackageSidebar >
12121210 </article >
12131211
12141212 <!-- Error state -->
@@ -1302,41 +1300,6 @@ onKeyStroke(
13021300 grid-area : sidebar;
13031301}
13041302
1305- /* Sidebar scrollbar: hidden by default, shown on hover/focus */
1306- @media (min-width : 1024px ) {
1307- .sidebar-scroll {
1308- scrollbar-gutter : stable;
1309- scrollbar-width : 8px ;
1310- scrollbar-color : transparent transparent ;
1311- }
1312-
1313- .sidebar-scroll ::-webkit-scrollbar {
1314- width : 8px ;
1315- height : 8px ;
1316- }
1317-
1318- .sidebar-scroll ::-webkit-scrollbar-track ,
1319- .sidebar-scroll ::-webkit-scrollbar-thumb {
1320- background : transparent ;
1321- }
1322-
1323- .sidebar-scroll :hover ,
1324- .sidebar-scroll :focus-within {
1325- scrollbar-color : var (--border ) transparent ;
1326- }
1327-
1328- .sidebar-scroll :hover ::-webkit-scrollbar-thumb ,
1329- .sidebar-scroll :focus-within ::-webkit-scrollbar-thumb {
1330- background-color : var (--border );
1331- border-radius : 9999px ;
1332- }
1333-
1334- .sidebar-scroll :hover ::-webkit-scrollbar-track ,
1335- .sidebar-scroll :focus-within ::-webkit-scrollbar-track {
1336- background : transparent ;
1337- }
1338- }
1339-
13401303/* Improve package name wrapping for narrow screens */
13411304.area-header h1 {
13421305 overflow-wrap : anywhere;
0 commit comments