@@ -561,30 +561,30 @@ a[href*="changelog"] svg {
561561 min-height : 100vh ;
562562 position : relative;
563563
564- .dashed-pattern-left {
564+ /* Hide the Radix wrapper only when it contains the fern anchor */
565+ [data-radix-popper-content-wrapper ]: has (a .fern-anchor ) {
566+ display : none !important ;
567+ }
568+
569+ .dashed-pattern {
565570 position : absolute;
566- left : -1rem ;
567571 top : 0 ;
568572 height : 100% ;
569573 width : 1rem ;
570574 opacity : 1 ;
571575 pointer-events : none;
572- border-right : 1px solid var (--grayscale-5 );
573576 mask : linear-gradient (to bottom, transparent 0% , rgba (0 , 0 , 0 , 1 ) 10% , rgba (0 , 0 , 0 , 1 ) 90% , rgba (0 , 0 , 0 , 0 ) 100% );
574577 -webkit-mask : linear-gradient (to bottom, transparent 0% , rgba (0 , 0 , 0 , 1 ) 10% , rgba (0 , 0 , 0 , 1 ) 90% , rgba (0 , 0 , 0 , 0 ) 100% );
575578 }
576579
580+ .dashed-pattern-left {
581+ left : -1rem ;
582+ border-right : 1px solid var (--grayscale-5 );
583+ }
584+
577585 .dashed-pattern-right {
578- position : absolute;
579586 right : -1rem ;
580- top : 0 ;
581- height : 100% ;
582- width : 1rem ;
583- opacity : 1 ;
584- pointer-events : none;
585587 border-left : 1px solid var (--grayscale-5 );
586- mask : linear-gradient (to bottom, transparent 0% , rgba (0 , 0 , 0 , 1 ) 10% , rgba (0 , 0 , 0 , 1 ) 90% , rgba (0 , 0 , 0 , 0 ) 100% );
587- -webkit-mask : linear-gradient (to bottom, transparent 0% , rgba (0 , 0 , 0 , 1 ) 10% , rgba (0 , 0 , 0 , 1 ) 90% , rgba (0 , 0 , 0 , 0 ) 100% );
588588 }
589589
590590 .main-content {
@@ -621,33 +621,30 @@ a[href*="changelog"] svg {
621621 grid-template-rows : repeat (2 , 1fr );
622622 }
623623
624- .sdks-card {
624+ /* Reusable panel card */
625+ .panel-card {
625626 border-top : 1px solid var (--grayscale-5 );
626627 padding : 2rem ;
627628 display : flex;
628629 flex-direction : column;
629630 gap : 1.5rem ;
631+ }
632+
633+ .panel-card .with-left-border {
634+ border-left : 1px solid var (--grayscale-5 );
635+ }
636+
637+ .sdks-card {
630638 grid-column : 1 / 2 ;
631639 grid-row : 1 / 2 ;
632640 }
633641
634642 .docs-card {
635- border-top : 1px solid var (--grayscale-5 );
636- border-left : 1px solid var (--grayscale-5 );
637- padding : 2rem ;
638- display : flex;
639- flex-direction : column;
640643 gap : 1rem ;
641644 grid-row : 1 / 3 ;
642645 }
643646
644- .ai-search-card {
645- border-top : 1px solid var (--grayscale-5 );
646- padding : 2rem ;
647- display : flex;
648- flex-direction : column;
649- gap : 1.5rem ;
650- }
647+ /* .ai-search-card inherits base panel styles */
651648
652649 .card-header {
653650 display : flex;
@@ -688,17 +685,7 @@ a[href*="changelog"] svg {
688685 position : relative;
689686 }
690687
691- .sdks-preview-img {
692- width : 100% ;
693- object-fit : cover;
694- }
695-
696- .docs-preview-img {
697- width : 100% ;
698- object-fit : cover;
699- }
700-
701- .ai-search-preview-img {
688+ .preview-img {
702689 width : 100% ;
703690 object-fit : cover;
704691 }
@@ -794,11 +781,9 @@ a[href*="changelog"] svg {
794781
795782 .community-card-header {
796783 display : flex;
797- align-items : center;
798784 gap : 0.5rem ;
799785 flex-direction : column;
800786 align-items : flex-start;
801-
802787 }
803788
804789 .specs-card {
0 commit comments