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
This commit is contained in:
Jessica Lawshe 2024-08-12 08:41:34 -05:00 committed by Copybot
parent c4c36c9cea
commit 214f093eb7

View file

@ -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