Skip to content

[Bug]: calc(100vh - calc(100vh - 100%)) becomes 100% #238

@DamianGlowala

Description

@DamianGlowala

Describe the bug

.test {
  height: calc(100vh - calc(100vh - 100%));
}

becomes:

.test {
  height: 100%;
}

See nuxt/nuxt#34366 for context.

Expected behaviour

calc(100vh - calc(100vh - 100%)) preserved as-is.

Steps to reproduce

n/a

Version

v10.1.1

Environment

n/a

Package details

n/a

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions