Skip to content

Gaps + Explicit gaps on both sides #39

Open

Description

@Inviz

When using explicit variables gaps, the parser greedily captures some VFL stuff between them when using regular - gap.

.block{
  @v |-^[inner-gap-top]-(.avatar)-(.html)-(.source)-^[inner-gap-bottom]-| gap(v-gap);
}

yields some ccss like:

 .avatar[bottom] + (.html)~(.source)-^[inner-gap-bottom] == ::this[bottom]

Activity

  1. paulyoung commented on Mar 27, 2015

    @paulyoung
    Contributor

    We should add a spec for this.

  2. paulyoung commented on Mar 27, 2015

    @paulyoung
    Contributor

    I wonder if ^inner-gap-top works vs ^[inner-gap-top].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions