From 214f093eb78655eb93054447d27ccc2298ac7eb9 Mon Sep 17 00:00:00 2001 From: Jessica Lawshe <5312836+lawshe@users.noreply.github.com> Date: Mon, 12 Aug 2024 08:41:34 -0500 Subject: [PATCH] Merge pull request #19749 from overleaf/jel-fix-first-feature-row-border [web] Fix first feature row border radius on light touch plans redesign GitOrigin-RevId: 2ef5b1cbb13284a95d6c5d9370cd003f4ccf7f48 --- .../app/views/subscriptions/plans/light-redesign/_mixins.pug | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/app/views/subscriptions/plans/light-redesign/_mixins.pug b/services/web/app/views/subscriptions/plans/light-redesign/_mixins.pug index b2855bdf0a..e706851bb5 100644 --- a/services/web/app/views/subscriptions/plans/light-redesign/_mixins.pug +++ b/services/web/app/views/subscriptions/plans/light-redesign/_mixins.pug @@ -125,7 +125,7 @@ mixin plans_table(period, config) .plans-table-btn-buy-container-desktop +plans_cta(tableHeadKey, highlighted, eventTrackingKey, additionalEventSegmentation, period) - for featuresPerSection in config.features + for featuresPerSection, featuresSectionIndex in config.features - var dividerColspan = Object.values(config.tableHead).length + 1 if featuresPerSection.divider tr.plans-table-divider @@ -163,7 +163,7 @@ mixin plans_table(period, config) event-tracking-ga="subscription-funnel" event-tracking-label=`${feature.feature}` scope="row" - class=`${featureIndex === 0 ? 'plans-table-first-feature-header' : ''}` + class=`${featuresSectionIndex === 0 && featureIndex === 0 ? 'plans-table-first-feature-header' : ''}` ) .plans-table-feature-name .plans-table-feature-name-content