frontend
    Preparing search index...

    Function expansionMargin

    • Return adjusted overlap margin for a card that is adjacent to a selected card on mobile. Reduces the negative overlap by EXPANSION_GAP_PX, effectively widening the visible area. Returns the original overlap when the card is not adjacent to a selection.

      Parameters

      • isNeighborOfSelected: boolean
      • baseOverlap: number

      Returns number