Results 1 to 2 of 2

Thread: Cmd v6.5.36 Fashion - CSS Nested rules and parent reference not working as expected

  1. #1
    Sencha Premium Member harrydeluxe's Avatar
    Join Date
    Jul 2007
    Location
    Nürnberg, Germany
    Posts
    80

    Default Cmd v6.5.36 Fashion - CSS Nested rules and parent reference not working as expected

    Hi,
    we are in the process of updating ExtJs 5 to 6.5. but are having problems with the Fashion compiler. This bug looks like an old problem: https://www.sencha.com/forum/showthr...ng-as-expected

    Our Testcode:
    Code:
    .pb-tileview {
        .pb-tile {
            &.face_grid {
                width: 30px;
            }
        }
    }
    .pb-orgchart {
        @extend .pb-tileview;
    }
    Result with Sencha Cmd 6.5.36
    Code:
    .pb-tileview .pb-tile.face_grid,
    .pb-orgchart.pb-tileview .pb-tile {
        width: 30px;
    }
    Expected result:
    Code:
    .pb-tileview .pb-tile.face_grid,
    .pb-orgchart.pb-tileview .pb-tile.face_grid {
        width: 30px;
    }
    Regards
    Harald
    DELACAP | Github
    "don't code today what you can't debug tomorrow"

  2. #2
    Sencha Premium User
    Join Date
    Dec 2015
    Posts
    26

    Default

    Any news on this issue? I have the same problem with extend and the ampersand selector. When using extend ALL whitespaces are removed from the generated selector.
    Code:
    .foo {
      &.bar {
        .foobar {
          color: black
        }
      }
    }
    
    .bug {
      @extend .foo
    }
    produces
    Code:
    .foo.bar .foobar,
    .bug.bar.foobar {
      color: black;
    }

Similar Threads

  1. Fashion Not working with Cmd v6.2.0.103
    By sbachman in forum Sencha Themer
    Replies: 1
    Last Post: 10 Nov 2016, 7:27 AM
  2. Fashion Not working with Cmd v6.2.0.103
    By sbachman in forum Sencha Cmd
    Replies: 1
    Last Post: 18 Sep 2016, 12:50 PM
  3. Fashion functions reference / inline images?
    By themightychris in forum Ext JS 6.x Q&A
    Replies: 0
    Last Post: 16 Aug 2016, 2:03 PM
  4. Fashion @extend nested selector bug
    By estesbubba in forum Sencha Cmd
    Replies: 2
    Last Post: 6 Jul 2016, 1:13 PM
  5. Replies: 5
    Last Post: 6 Jun 2016, 10:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •