Skip to content

Proposal: Pretty format multiple css values in row align. #8462

Closed

Description

Prettier 2.0.5

Format multiple values of a css attribute in clean aligned rows.

Input:

.some-class {
  box-shadow: 
    0 0 10px 0 black, 
    0 0 0 1px white,
    0 5px 20px -5px rgba(0, 0, 0, 0.3);
}

(Also expected.)

Output:

.some-class {
  box-shadow: 0 0 10px 0 black, 0 0 0 1px white,
    0 5px 20px -5px rgba(0, 0, 0, 0.3);
}

Expected behavior:

.some-class {
  box-shadow: 
    0 0 10px 0 black, 
    0 0 0 1px white,
    0 5px 20px -5px rgba(0, 0, 0, 0.3);
}

(scss)

Activity

  1. thorn0 commented on May 31, 2020

    @thorn0
    Member

    Duplicate of #6024

  2. thorn0 commented on May 31, 2020

    @thorn0
    Member

    Related: #7039

  3. added
    type:duplicate
    on May 31, 2020
  4. added
    locked-due-to-inactivity
    on Aug 30, 2020
  5. locked as resolved and limited conversation to collaborators on Aug 30, 2020
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

    locked-due-to-inactivitytype:duplicate

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions