@@ -248,7 +248,7 @@ a.label,
248248}
249249
250250.page-content .header-wrapper ,
251- .page-content .new -menu {
251+ .page-content .overflow -menu {
252252 margin-top : -15px !important ;
253253 padding-top : 15px !important ;
254254}
@@ -1339,59 +1339,21 @@ strong.attention-caution, span.attention-caution {
13391339 }
13401340}
13411341
1342- .ui .menu .new -menu {
1342+ .ui .menu .overflow -menu {
13431343 margin-bottom : 15px ;
13441344 background : var (--color-header-wrapper );
13451345 border-bottom : 1px solid var (--color-secondary ) !important ;
1346- overflow : auto;
13471346}
13481347
1349- .ui .menu .new -menu .new -menu-inner {
1348+ .ui .menu .overflow -menu .overflow -menu-items {
13501349 display : flex;
1351- margin-left : auto;
1352- margin-right : auto;
1353- overflow-x : auto;
13541350 width : 100% ;
1355- mask-image : linear-gradient (to right, # 000 0% , # 000 calc (100% - 60px ), transparent 100% );
1356- -webkit-mask-image : linear-gradient (to right, # 000 0% , # 000 calc (100% - 60px ), transparent 100% );
13571351}
13581352
1359- .ui .menu .new -menu .item {
1353+ .ui .menu .overflow -menu . overflow-menu-items .item {
13601354 margin-bottom : 0 !important ; /* reset fomantic's margin, because the active menu has special bottom border */
13611355}
13621356
1363- @media (max-width : 767.98px ) {
1364- .ui .menu .new-menu .item {
1365- width : auto !important ;
1366- }
1367- }
1368-
1369- .ui .menu .new-menu .item : first-child {
1370- margin-left : auto; /* "justify-content: center" doesn't work with "overflow: auto", so use margin: auto */
1371- }
1372-
1373- .ui .menu .new-menu .item : last-child {
1374- padding-right : 30px !important ;
1375- margin-right : auto;
1376- }
1377-
1378- .ui .menu .new-menu ::-webkit-scrollbar {
1379- height : 6px ;
1380- display : none;
1381- }
1382-
1383- .ui .menu .new-menu ::-webkit-scrollbar-track {
1384- background : none !important ;
1385- }
1386-
1387- .ui .menu .new-menu ::-webkit-scrollbar-thumb {
1388- box-shadow : none !important ;
1389- }
1390-
1391- .ui .menu .new-menu : hover ::-webkit-scrollbar {
1392- display : block;
1393- }
1394-
13951357.repos-search {
13961358 padding-bottom : 0 !important ;
13971359}
0 commit comments