Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on line starting with ">" #365

Open
sherrybomb opened this issue Feb 9, 2018 · 0 comments
Open

Error on line starting with ">" #365

sherrybomb opened this issue Feb 9, 2018 · 0 comments

Comments

@sherrybomb
Copy link

sherrybomb commented Feb 9, 2018

I'm using 1.17.1 and getting this error

ERROR 10642:5 no viable alternative at input '>' in ruleset (which started at 10624:1)

on the line marked below:

// ...
.xUiForm.xFillSpace {
    > .xUiFormResGrid {
        height: 100%;
        > .xUiFormTitle {
            flex: 0 0 auto;
        }
        > .xUiRespGrid {
            height: 100%;
            [class*="xUiRespGridSpan"]:not(.xUiFormElementLbl) {
                min-height: 2.75rem;
            }
        }
    }    
     > .xUiFormResGrid > .xUiRGLContainer {  // <----- error
        height: 100%;
        > .xUiFormContainerTitle {
            flex: 0 0 auto;
        }
        > .xUiRGLContainerCont {
            flex: 1 1 auto;
            > .xUiRespGrid {
                .xFillSpace(@width: ~"calc(100% + "@formResponsiveGridLayoutGutterWidth/2~")");  // <-- actual problematic line
                display:flex;
        // ...

This does not cause a problem with lessc. Changing the problematic line to this resolves the error:

.xFillSpace(@width: ~"calc(100% + @{formResponsiveGridLayoutHalfGutterWidth})");

[edited after initial post with more info]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant