@@ -59,7 +59,7 @@ body cd-el {
5959
6060.bottom-wrapper {
6161 position : fixed;
62- bottom : env (safe-area-inset-bottom , 0 px ) ;
62+ bottom : 0 ;
6363 left : 0 ;
6464 right : 0 ;
6565 height : calc (45px + 56px + 45px );
@@ -81,29 +81,18 @@ body.notransition .bottom-wrapper {
8181}
8282
8383.bottom-wrapper .expanded {
84- transform : translateY (calc (-100vh + 100 % - env (safe-area-inset-top, 0px )));
84+ transform : translateY (calc (-1 * var ( --window-height , 100vh ) + 44 px + env (safe-area-inset-top, 0px )));
8585 height : 44px ;
8686}
8787
88- .bottom-wrapper .expanded .fromtop {
89- top : env (safe-area-inset-top, 0px );
90- bottom : auto;
91- transform : none;
92- transition : none;
93- }
94-
95- .bottom-wrapper .expanded .fromtop * {
96- transition : none !important ;
97- }
98-
9988.bottom-wrapper .notransition , .bottom-wrapper .notransition * {
10089 transition : none !important ;
10190}
10291
10392.bottom-float {
10493 position : relative;
10594 margin : 45px 0 ;
106- width : calc (100% - 45px - env (safe-area-inset-left) );
95+ width : calc (100% - 45px );
10796 max-width : 600px ;
10897 display : flex;
10998 align-items : center;
@@ -145,6 +134,7 @@ body.notransition .bottom-wrapper {
145134
146135.bottom-wrapper .expanded .bottom-float .sidebar-open {
147136 padding : 11px 16px ;
137+ background : transparent;
148138}
149139
150140.bottom-float .sidebar-open : active {
@@ -737,7 +727,6 @@ body.expanded .sidebar-toggle svg .left {
737727 padding-left : env (safe-area-inset-left);
738728 padding-right : 1px ;
739729 box-sizing : border-box;
740- will-change : transform;
741730 z-index : 998 ;
742731}
743732
@@ -755,6 +744,10 @@ body.expanded .sidebar-toggle svg .left {
755744}
756745*/
757746
747+ .sidebar .transitioning {
748+ will-change : transform;
749+ }
750+
758751body .expanded .sidebar {
759752 transform : translateX (calc (100% - 1px ));
760753 pointer-events : auto;
@@ -795,7 +788,7 @@ body.notransition .sidebar {
795788
796789.sidebar .loader {
797790 position : sticky;
798- top : 0 ;
791+ top : 0.5 px ;
799792 left : 0 ;
800793 height : 2px ;
801794 width : var (--sidebar-width );
@@ -917,7 +910,7 @@ body.notransition .sidebar {
917910.sidebar .header .logo ::after {
918911 content : '' ;
919912 position : absolute;
920- right : 0 ;
913+ right : -0.5 px ;
921914 width : 28px ;
922915 height : 20px ;
923916 background : linear-gradient (270deg , # 1a1c24, # 1a1c2400 );
@@ -930,7 +923,7 @@ body.notransition .sidebar {
930923.sidebar .header .logo ::before {
931924 right : auto;
932925 background : linear-gradient (90deg , # 1a1c24, # 1a1c2400 );
933- left : 42 px ;
926+ left : 41.5 px ;
934927}
935928
936929.sidebar .header .logo ::after {
@@ -1437,6 +1430,12 @@ body:not(.mobile) .sidebar .header .title .branch-icon:active {
14371430 background : hsl (228deg 59% 6% / 50% );
14381431}
14391432
1433+ @media screen and (orientation : landscape) {
1434+ body .mobile .sidebar .picture-wrapper {
1435+ display : none;
1436+ }
1437+ }
1438+
14401439.sidebar .intro {
14411440 position : absolute;
14421441 width : calc (100% - 1px );
@@ -1451,6 +1450,10 @@ body:not(.mobile) .sidebar .header .title .branch-icon:active {
14511450 padding-left : 10px ;
14521451}
14531452
1453+ body .mobile .sidebar .intro {
1454+ margin-left : calc (-1 * env (safe-area-inset-left, 0px ));
1455+ }
1456+
14541457.sidebar .files .intro {
14551458 height : calc (100% - 74px );
14561459 margin-top : -11px ;
@@ -1610,11 +1613,6 @@ body.mobile .sidebar .button {
16101613 align-items : center;
16111614}
16121615
1613- .sidebar .learn-wrapper .version {
1614- user-select : text;
1615- -webkit-user-select : text;
1616- }
1617-
16181616.sidebar .learn-wrapper .logout {
16191617 display : none;
16201618}
@@ -2384,6 +2382,10 @@ body:not(.mobile) .sidebar .header .logo::-webkit-scrollbar {
23842382 height : 10px ;
23852383}
23862384
2385+ body .mobile .sidebar .header .logo ::-webkit-scrollbar {
2386+ opacity : 0 ;
2387+ }
2388+
23872389body : not (.mobile ) .sidebar .header .logo ::-webkit-scrollbar-track {
23882390 background : transparent;
23892391 box-shadow : none;
@@ -2581,3 +2583,4 @@ html, body {
25812583 }
25822584
25832585}
2586+
0 commit comments