|
642 | 642 |
|
643 | 643 | .ht-sponsor-copy { |
644 | 644 | min-width: 0; |
| 645 | + min-height: 0; |
645 | 646 | display: flex; |
646 | 647 | flex-direction: column; |
| 648 | + overflow: hidden; |
647 | 649 | } |
648 | 650 |
|
649 | 651 | .ht-sponsor-title { |
|
663 | 665 | color: rgba(210, 222, 245, 0.68) !important; |
664 | 666 | font-size: 15px; |
665 | 667 | line-height: 1.45; |
666 | | - max-height: none !important; |
| 668 | + flex: 1 1 auto; |
| 669 | + min-height: 0; |
| 670 | + max-height: 100% !important; |
667 | 671 | opacity: 1 !important; |
668 | 672 | visibility: visible !important; |
669 | | - overflow: visible !important; |
| 673 | + overflow: auto !important; |
| 674 | + overscroll-behavior: contain; |
| 675 | + padding-right: 3px; |
670 | 676 | transform: none !important; |
671 | 677 | } |
672 | 678 |
|
|
700 | 706 | text-align: center; |
701 | 707 | text-transform: uppercase; |
702 | 708 | max-width: 100%; |
| 709 | + min-height: 36px; |
| 710 | + flex: 0 0 auto; |
703 | 711 | opacity: 1 !important; |
704 | 712 | overflow: visible !important; |
705 | 713 | visibility: visible !important; |
|
772 | 780 |
|
773 | 781 | .sidesponsor { |
774 | 782 | width: 100% !important; |
775 | | - min-height: 360px; |
776 | | - max-height: none !important; |
777 | | - height: auto !important; |
| 783 | + min-height: min(360px, 52vh); |
| 784 | + max-height: 52% !important; |
| 785 | + height: 52% !important; |
778 | 786 | grid-template-columns: minmax(0, 1fr); |
779 | 787 | grid-template-areas: |
780 | 788 | "kicker" |
781 | 789 | "media" |
782 | 790 | "copy" |
783 | 791 | "cta"; |
784 | | - grid-template-rows: auto auto auto auto !important; |
| 792 | + grid-template-rows: auto auto minmax(0, 1fr) auto !important; |
785 | 793 | align-items: stretch !important; |
786 | 794 | align-content: start !important; |
787 | 795 | gap: 9px !important; |
|
819 | 827 | .sidesponsor .ht-sponsor-description { |
820 | 828 | font-size: 15px; |
821 | 829 | line-height: 1.4; |
| 830 | + flex: 1 1 auto; |
| 831 | + min-height: 0; |
| 832 | + max-height: 100% !important; |
| 833 | + opacity: 1 !important; |
| 834 | + visibility: visible !important; |
| 835 | + overflow: auto !important; |
| 836 | + overscroll-behavior: contain; |
| 837 | + transform: none !important; |
822 | 838 | } |
823 | 839 |
|
824 | 840 | .sidesponsor .ht-sponsor-cta { |
825 | 841 | padding: 8px 10px !important; |
826 | 842 | font-size: 11px; |
827 | | - min-height: 0; |
| 843 | + min-height: 36px; |
828 | 844 | } |
829 | 845 |
|
830 | 846 | @media only screen and (max-width: 799px) { |
|
0 commit comments