@@ -1153,11 +1153,9 @@ onKeyStroke(
11531153 </div >
11541154 </section >
11551155 </section >
1156- <div class =" area-sidebar" >
1157- <!-- Sidebar -->
1158- <div
1159- 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"
1160- >
1156+
1157+ <PackageSidebar class =" area-sidebar" >
1158+ <div class =" flex flex-col gap-4 sm:gap-6 xl:(pt-2)" >
11611159 <!-- Team access controls (for scoped packages when connected) -->
11621160 <ClientOnly >
11631161 <PackageAccessControls :package-name =" pkg.name" />
@@ -1217,7 +1215,7 @@ onKeyStroke(
12171215 <!-- Maintainers (with admin actions when connected) -->
12181216 <PackageMaintainers :package-name =" pkg.name" :maintainers =" pkg.maintainers" />
12191217 </div >
1220- </div >
1218+ </PackageSidebar >
12211219 </article >
12221220
12231221 <!-- Error state -->
@@ -1311,41 +1309,6 @@ onKeyStroke(
13111309 grid-area : sidebar;
13121310}
13131311
1314- /* Sidebar scrollbar: hidden by default, shown on hover/focus */
1315- @media (min-width : 1024px ) {
1316- .sidebar-scroll {
1317- scrollbar-gutter : stable;
1318- scrollbar-width : 8px ;
1319- scrollbar-color : transparent transparent ;
1320- }
1321-
1322- .sidebar-scroll ::-webkit-scrollbar {
1323- width : 8px ;
1324- height : 8px ;
1325- }
1326-
1327- .sidebar-scroll ::-webkit-scrollbar-track ,
1328- .sidebar-scroll ::-webkit-scrollbar-thumb {
1329- background : transparent ;
1330- }
1331-
1332- .sidebar-scroll :hover ,
1333- .sidebar-scroll :focus-within {
1334- scrollbar-color : var (--border ) transparent ;
1335- }
1336-
1337- .sidebar-scroll :hover ::-webkit-scrollbar-thumb ,
1338- .sidebar-scroll :focus-within ::-webkit-scrollbar-thumb {
1339- background-color : var (--border );
1340- border-radius : 9999px ;
1341- }
1342-
1343- .sidebar-scroll :hover ::-webkit-scrollbar-track ,
1344- .sidebar-scroll :focus-within ::-webkit-scrollbar-track {
1345- background : transparent ;
1346- }
1347- }
1348-
13491312/* Improve package name wrapping for narrow screens */
13501313.area-header h1 {
13511314 overflow-wrap : anywhere;
0 commit comments